• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ClassPath Conflict

 
Brijesh Jaggi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys ,
after installing oracle 9i on my computer i am facing some strange issues . I cant make a jsp file now . i get exceptions as

Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK


i check the classpath variables JAVA_HOME points to proper path ,
but there is an suspicious entry , when i do path in the dos prompt.

C:\jdk1.3\bin
can that cause a problem .i dont have jave 1.3 installed onmy computer neither i could find that in my classpath , my os is win xp. Any suggestion guys .
 
Tauri Valor
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It could still have been hidden in your system registry..try to delete this entry in regedit and be careful while deleting the entry from registry(do not mess up with any other entry while trying to delete your old jdk entry).
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Before touching the registry, how do you know that JAVA_HOME is pointing to the correct JVM?
How did you test this?

Also, how are you starting Tomcat; from the batch/shell scripts or from the services window?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i do path in the dos prompt.

C:\jdk1.3\bin

That is bound to cause problems. You should edit the system environment to fix the path.
Control Panel -> System -> Advanced tab -> Environment Variables button
Since some program installations mess with the Path you may find all sorts of weird stuff in there.
Try this at a command prompt:
java -version
to see if you are getting the right version.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic