| Summary: | java.lang.NoDefClassFoundError: <my java class> <my args> Exception in thread "main". | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Ryan Nabozniak <funboy116> | ||||||
| Component: | Debug | Assignee: | JDT-Debug-Inbox <jdt-debug-inbox> | ||||||
| Status: | CLOSED INVALID | QA Contact: | |||||||
| Severity: | critical | ||||||||
| Priority: | P3 | ||||||||
| Version: | 3.1 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Ryan Nabozniak
Move to JDT/Debug Please provide steps to reproduce in Eclipse. Also what exactly is going wrong ? A Java run on the command line ? If so, where is Eclipse in the picture ? Please reopen once clarified. oops bug did move under me, reopening as no longer in jdt/core Can you attach a sample project and launch config demonstrating the problem. We need more concrete steps to reproduce the problem. Created attachment 36420 [details]
The application I'm trying to launch in eclipse
This is the application I'm trying to run with eclipse. I'm still getting the error -
java.lang.NoDefClassFoundError: <my java class> <my args> Exception in thread "main"
I will attach screen shots too.
Included in zip file is the .classpath file that eclipse generates.
Ryan
Created attachment 36421 [details]
eclipse setup and screenshots
These are various screenshots I've taken of my eclipse setup. I've also taken some shots, on the same computer, of another IDE I use occasionally (textpad) in order to show that my jvm is setup correctly. I'm able to compile and run the application I sent you without errors, one shot shows the expected output.
You've just configured your launch incorrectly. You want to launch DataStore and use the arguments tab to add your GHXML.xml program argument. You cannot specify arguments in the Main Class field. D'oh, thanks guys...I'm still learning how to use the IDE. Sorry for the trouble. |