Questions tagged [tools.jar]

82 questions
1
vote
1 answer

Jenkins or Maven Places The Wrong tools.jar On Class Path

I have a complicated setup where I need to be able to compile different projects with different JDKs. So, currently I have a docker image which has Oracle JDK 5 and Oracle JDK 6 installed manually and Open JDK 8 installed via apt-get (so that it is…
sixbitproxywax
  • 160
  • 1
  • 10
1
vote
2 answers

Source code for "tools.jar" available under jdk1.6

Can anyone please help me with getting the source code for "tools.jar" available under jdk1.6. I searched in google and searched inside jdk6 source file but couldn't able to find.
user2444443
1
vote
1 answer

Cannot find tools.jar Java CentOS

I'm trying to find where tools.jar file on CentOS 6. People are saying they can locate their tools.jar in /java/jre/lib/tools.jar but mine is nowhere to be…
Toby Mellor
  • 8,093
  • 8
  • 34
  • 58
1
vote
0 answers

cannot find symbol. symbol: class java

We have implemented some metamagic for the javac compiler in form of an annotation Processor. With some innocent-looking java source files, we get the following paradoxical error message: [javac] [checking…
1
vote
2 answers

A way to "Reboot" the JVM

Possible Duplicate: Any way to “reboot” the JVM? I added tools.jar in our JRE /lib/ext folder and I need to do a JVM reboot under windows. Is that possible without restarting the server?
quarks
  • 33,478
  • 73
  • 290
  • 513
1
vote
1 answer

JNLP: tools.jar not in the classpath

it's me again. And today, I'm facing kind of a weird problem. Either I didn't understand something correctly or I'm simply missing the forrest in front of the trees. Following scenario: I'm using JavaFX, bundled in JDK 1.7 I need both client…
bully
  • 5,525
  • 3
  • 22
  • 26
0
votes
1 answer

lib/tools.jar, sonarque, and jdk 11

I have a jdk 8 full build project in jenkins that works flawlessly. This project has a dependency on lib/tools.jar: org.jboss.as:jboss-as-clustering-api:jar:7.5.0.Final-redhat-21:provided com.sun:tools:jar:1.6:system This system dependency is no…
gargle
  • 33
  • 7
0
votes
1 answer

Android Studio no tools.jar found

I use the latest version of Android Studio. If I try to build an APK then I get the following error message: "Cannot determine path to 'tools.jar' library for Android API 32 Platform (/home/stefan/Android/Sdk)". But it is not told where Android…
user2759621
  • 125
  • 1
  • 1
  • 5
0
votes
0 answers

Apache-axis 1.4 Tomcat 9 deployment failure for missing tools.jar

I hope someone will be able to help me figure this out. I was requested to migrate apache axis 1.4 from a server with Tomcat 6 to a more recent server with Tomcat 9. OS is RedHat Enterprise 5.9 on older server, RedHat Enterprise 8.4 on newer…
Leo
  • 241
  • 2
  • 3
  • 12
0
votes
2 answers

The POM for com.sun.xml.bind:jaxb-core:jar:2.2.11 is invalid,transitive dependencies (if any) will not be available

I am a newbie to Eclipse.I got this below error when I modified my cucumber project, I added functionality of reading data from excel and writing to excel, until then it worked fine.Tried everything mentioned in other answers. The POM for…
Raga
  • 1
  • 1
  • 1
0
votes
0 answers

Trying to run react-native project on emulator

I was working with someone on a project and he give me the access for the project I clone it perfectly and I easy install the node module but when i try to run the project in emulator I face this issue when is not resolving at all.
Ali Faraz
  • 1
  • 1
0
votes
1 answer

can't find the symbol from tools.jar

code below import com.sun.tools.javac.util.Abort; public class Test { public static void main(String[] args) { System.out.println("hello world"); } } use javac to compile this file, compile error like this com.sun.tools.javac.util…
asanelder
  • 51
  • 6
0
votes
2 answers

migrating from using jdk8 to jdk11, getting errors related to tools.jar

I am migrating an project from jdk8 to jdk11. in my pom.xml file, i have put 11 11 11 and
jiii
  • 71
  • 4
0
votes
1 answer

Tools.jar is missing

I am running maven build -PautoInstallPackage on my AEM project and facing the following error. Can't find tools.jar. Rerun delombok as: java -cp lombok.jar:/path/to/tools.jar lombok.launch.Main delombok…
romie99
  • 305
  • 3
  • 4
  • 18
0
votes
1 answer

How to print java compiler error log using tools.jar compile method?

In my idea IDE, I can see the compile error with red font in the console.But when I deploy the jar in the linux server.I can not see the compile log.How to print the compile error log? public static void main(String[] args) throws Exception { …
flower
  • 2,212
  • 3
  • 29
  • 44