English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have installed J2SE 5.0 Update 7 nad Java EE 5 on my system. I have set the PATH as 'c:\jdk1.5.0_07\bin'. The compiler is working smoothly, so is appletviewer. But the application launcher command 'java' is raising an exception as java.lang.UnsupportedClassLoaderError. The command javac -version shows the correct version of jdk, while the command java -version shows an earlier version of java. This is the first time java is installed on my system.

2006-08-29 03:43:46 · 2 answers · asked by simpleton_work 1 in Computers & Internet Programming & Design

2 answers

No is not if you have XP (I think also win2000). Those have also only a "java.exe" somewhere in the win directory... what you need to do is to put this path (c:\jdk....) the first one in your path environment, or search the other java.exe and "eliminate" it...:D

2006-08-29 04:16:14 · answer #1 · answered by None A 3 · 0 0

Check your path setting by echoing them on the screen, that will show you which java.exe the system is able to get to first.
Make sure that the 1.5 version appears before it and you should be all set

2006-08-29 11:27:14 · answer #2 · answered by bostoncity_guy 2 · 0 0

fedest.com, questions and answers