For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 9 replies, 6 voices, and was last updated 21 years, 1 month ago by
dervre.
-
AuthorPosts
-
shoutstudiosMemberI am starting with a default install on MyEclipse 2.7RC2 with the latest version of Eclipse and JDK 1.4.1. I was able to create a deployment to JBoss after I changed my JDK location to a real JDK and not the JRE. I am now getting this error when I try to run JBoss in either debug or run mode.
java.lang.NoClassDefFoundError: C:\j2sdk1/4\bin
Exception in thread “main”My JDK directory is c:\j2sdk1.4.. it looks like it’s not liking the . in the directory name. Is this the case?
I can start JBoss successfully from the command line.
Any help would be appreciated
January 7, 2004 at 10:51 am #201535
Riyad KallaMemberThis is strange indeed… what are the exact paths under Windows->Preferences->Java->Installed JRE-> “JRE home directory”?
Also under Win->Prefs->MyEclipse->App Serv->JBoss 3->”JBoss Home Directory”? And under “JDK” are you certain the correct JDK is selected? Any additional vm args?
There should be no problem with the dot in the path name… what OS are you running?
January 7, 2004 at 3:40 pm #201540
shoutstudiosMemberWindows->Preferences->Java->Installed JRE-> “JRE home directory”?
c:\j2sdk1.4Win->Prefs->MyEclipse->App Serv->JBoss 3->”JBoss Home Directory”?
C:\jboss-3.2.2And under “JDK” are you certain the correct JDK is selected? Any additional vm args?
Yes.. the correct JDK is selected and I am not passing in any additional VM args. The above directories match the locations on my machine and are correct as far as I can tell.January 7, 2004 at 3:42 pm #201541
shoutstudiosMemberSorry.. Also, I am running Windows 2000 Pro
January 7, 2004 at 6:17 pm #201547
Riyad KallaMemberShout,
This is strange indeed, I am requesting Scott/Michael take a look at this for you.January 7, 2004 at 9:30 pm #201556
Scott AndersonParticipantI agree with Riyad, this is peculiar. Have you tried to create a simple Java project with a class containing a main method and tried launching that using the normal Eclipse debugger launch mechanism using the same JDK? Does that work? I’ve never seen Windows balk at a path with a ‘.’ in it.
–Scott
MyEclipse SupportMarch 1, 2005 at 5:01 am #225941
dhurietMemberI have the same problem… Any progress on the subject ??
I configured JBoss Home Directory : C:\Program Files\jboss-4.0.1sp1
and the error message when trying to start JBoss from the Eclipse IDE is :
“Could not find the main class. Program will exit.”
and in the console :
“java.lang.NoClassDefFoundError: Files\jboss-4/0/1sp1\lib\endorsed
Exception in thread “main” ”Any solution found today ?
Thanks in advance…Damien
March 1, 2005 at 8:05 am #225949
Riyad KallaMember“java.lang.NoClassDefFoundError: Files\jboss-4/0/1sp1\lib\endorsed
The space in your path “Program Files” is the problem, note that the “NoClassDef” error is showing you half of your path and thinks it is a class name. Reinstall JBoss to a location without a space in the path.
March 7, 2005 at 2:16 am #226264
yyhtMemberok
July 1, 2005 at 8:02 pm #232194
dervreMemberThank you support-rkalla!!!!!!!!!!!!!!!!!!!!!!!
You just saved me hours and hours of headaches on that one!!
Derek.
-
AuthorPosts
