-
1. Re: Start-up error: java/lang/NoClassDefFoundError: java/lan
seagull Apr 29, 2004 3:13 AM (in response to seagull)Help! I still can't figure this one out.
Surely someone must have an idea?
Perhaps its a bug? -
2. Re: Start-up error: java/lang/NoClassDefFoundError: java/lan
darranl Apr 29, 2004 3:45 AM (in response to seagull)I haven't tried 1.4.2_04 on linux yet but previous 1.4.2 versions worked fine.
It sounds more like your JDK installation has gone wrong, have you checked all of your environment variables to make sure the old JDK is not referenced anywhere and to make sure that the new one is correctly referenced?
What is your JAVA_HOME variable set to? -
3. Re: Start-up error: java/lang/NoClassDefFoundError: java/lan
seagull Apr 29, 2004 5:22 AM (in response to seagull)Thanks - you were definitely on the right lines.
When I installed j2sdk1.4.2 I copied the bin file into /usr/java and ran it from there as root.
I compared some of the file permissions with those in my old (working) jdk1.3.1 version and noticed some differences. Several of the .jar files in the new version had -rw------ permissions whereas they had -rw-r--r- in the jdk1.3.1 version.
I've just run the j2sdk1.4.2 bin file in my local directory, set the environment variables accordingly and have now successfully started JBoss.