Thomas J.S.: JAVA_HOME setzen

Beitrag lesen

Hallo,

hmm... du hättest dir schon die mühe geben können deine Crossposting ins Deutsche zu übersetzen.

Now I saw different versions of how to set up the java_home variable. There are 2 java directories. Which one should i use.
I have been playing around with the setup for the last 4 hours. I can not get it to work. Whenever I try to run a simple jsp file I get:

oot cause

Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.

Du brauchst die tools.jar.
Diese findest du in der "Java 2 SDK, Standard Edition" im verzeichniss "lib" oder im "Java(TM) 2 Platform, Enterprise Edition 1.4 SDK" im Verzeichnis jdk/lib".
Wenn du keine tools.jar auf deinem Rechner hast, muss du eine der entsprechenden Java-software installieren und JAVA_HOME entsprechend setzen.
(Dann kannst du als alternative tools.jar auch in deinem tomcat "shaderd/lib" kopieren)

Grüße
Thomas