I judge a grad a new system and I also like the JDK6 times (more precisely, it is 1.5.0_04 installed). The installation once the JDK to
D: \ Java \ jdk1.5.0_04
and the normal JRE after
D: \ Java \ jre1.5.0_04
installed. Where it is in the folder of JDK JRE still is one. Now I wanted to install ant, and just bake a sample program, but Ant denied me the service, with the message that the tools jar was not found. And that Ant they jre1.5.0_04 \ lib in searches. But since there is no yes, because the tools. Jar there is indeed only in the JDK. So I'm all for my environment variables considered and I see there: there is nothing. Any records that have even the slightest what to do with Java. But if I on the console "java-version" text box that I get the normal version issued. How can that be? It must be somehow stored, accessed what. How can Windows run the command "java" when there in no single variable which is Java? How can I make Ant to that of the JRE, but in the JDK is in not looking? Please help to solve my problem.
Bookmarks