Questions tagged [tools.jar]

82 questions
0
votes
1 answer

How to obtain toos.jar's PAI guide and java source code

I hava to referenced something of tools.jar which is a part of jdk lib. and I want to get its help documentation and java source code. Please tell me how to get it or where to download. Thank you very much!
shadow
  • 94
  • 7
0
votes
1 answer

Maven cannot find tools.jar w/ proper JAVA_HOME

I am having some trouble building a Maven project on my Windows machine. I have set my JAVA_HOME environment variable and Maven finds it. Here are come results from a few executions: 'which mvn' /cygdrive/c/Program…
0
votes
4 answers

Ant is not working in Eclipse Indigo Service Release 2

My problem is that my simple build script who will just print a message is not working in Eclipse Indigo Service Release 2. The Script is given below- Eclipse! When I tried to…
0
votes
1 answer

Selenium RC - grid hub is not listening

I'm new to selenium. I am running an existing selenium RC code. When i try to launch the hub I got the following error Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\lib\tools.jar Buildfile: build.xml does not…
user1984004PRI
  • 313
  • 2
  • 8
  • 21
0
votes
2 answers

Old solution not working for missing Tools.jar while building Portico on Red hat Linux using apache ant

I have already done my homework before posting this question. I am trying to build Portico-1.0.2 on Red-Hat Linux 64 bit machine using apache ant. Initially I was setting JAVA_HOME path to jre-1.6.0_31/bin folder but it threw an error that : Unable…
EagleEye
  • 1,043
  • 1
  • 9
  • 12
-2
votes
1 answer

ToolProvider.getSystemJavaCompiler() is returning null

I have tried everything like included tools.jar file in my classpath like java -cp "C:\Program Files\Java\jdk.0.0.82\lib\tools.jar" SourceFile [ ( Paramters ) ] Also i tried to copy tools.jar to my classpath where my binary files like javac, java,…
Mr. Suryaa Jha
  • 1,516
  • 16
  • 10
-3
votes
1 answer

Run java code with jdk11 but use tools.jar from jdk8

Program is compiled with JDK8. I want to run the code with JDK11(without recompilation of the code with JDK11). Problem is that the program use classes from JDK8 tools.jar(classes that are now in the jdk.compiler module in jdk11,the tools.jar is…
HPCS
  • 1,434
  • 13
  • 22
1 2 3 4 5
6