Where to get tools.jar for Java 8 JDK early release? Without it, my Java 1.8 Maven pom based projects in Netbeans will not compile.
The Java 8 early release is set in
You just need to install devel package. On RHEL family it's like this:
# yum install java-1.8.0-openjdk-devel
The tools.jar
file on the 1.8.0 JDK is located in jdk1.8.0/lib/tools.jar
. If it's not there, then you don't have the JDK installed correctly.
Make sure you look into the folder
C:/Program Files/Java/jdk1.8.0_version/lib
instead of
C:/Program Files (x86)/Java/jdk1.8.0_version/lib
Install the latest JDK from here.
If the problem not solved then go back to react-native documentation about installing react native (android) on mac, here
In root of your reactnative project :
cd android
./gradlew clean
./gradlew assembleRelease
Some JDK packages contain just the Java Runtime Environment.
So for instance in Fedora, Oracle Linux, RHEL, CentOS java-1.8.0-openjdk
package contains just the JRE. If you want the development tools, then install the java-1.8.0-openjdk-devel
package instead.
And in Debian/Ubuntu openjdk-8-jre
package contains just the JRE. If you want the development tools, then install the openjdk-8-jdk
package instead.
Simply, copy the tools.jar
from your jdk\lib
folder and paste into jre\lib
folder.