Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Setting $JAVA_PATH on new install for Android Studio

I'm currently setting up Android Studio on a new F22 install.

When trying to run the launch script I'm getting this message:

'tools.jar' seems to be not in Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE.

I've tried setting JAVA_HOME to /etc/alternatives/jre_1.8.0_openjdk which I found by searching, but that hasn't worked. I know the install comes with openjdk, or maybe just jre, and also that it's headless. I've run "sudo dnf install java" which I think got the rest, but I'm not sure where that was installed to, or whether it comes with a JDK.

Setting $JAVA_PATH $JAVA_HOME on new install for Android Studio

I'm currently setting up Android Studio on a new F22 install.

When trying to run the launch script I'm getting this message:

'tools.jar' seems to be not in Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE.

I've tried setting JAVA_HOME to /etc/alternatives/jre_1.8.0_openjdk which I found by searching, but that hasn't worked. I know the install comes with openjdk, or maybe just jre, and also that it's headless. I've run "sudo dnf install java" which I think got the rest, but I'm not sure where that was installed to, or whether it comes with a JDK.

Setting $JAVA_HOME on new install for Android Studio

I'm currently setting up Android Studio on a new F22 install.

When trying to run the launch script I'm getting this message:

'tools.jar' seems to be not in Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE.

I've tried setting JAVA_HOME to /etc/alternatives/jre_1.8.0_openjdk which I found by searching, but that hasn't worked. I know the install comes with openjdk, or maybe just jre, and also that it's headless. I've run "sudo dnf install java" which I think got the rest, but I'm not sure where that was installed to, or whether it comes with a JDK.

Setting $JAVA_HOME on new install for Android Studio

I'm currently setting up Android Studio on a new F22 install.

When trying to run the launch script I'm getting this message:

'tools.jar' seems to be not in Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE.

I've tried setting JAVA_HOME to /etc/alternatives/jre_1.8.0_openjdk which I found by searching, but that hasn't worked. I know the install comes with openjdk, or maybe just jre, and also that it's headless. I've run "sudo dnf install java" which I think got the rest, but I'm not sure where that was installed to, or whether it comes with a JDK.

Edit: I've tried all the possible paths, but with no luck. I downloaded the Oracle JDK, both the x86 version and the 64 version and those don't seem to work either, even though they certainly do have tools.jar. I'm still getting the same error message as before.

Setting $JAVA_HOME on new install for Android Studio

I'm currently setting up Android Studio on a new F22 install.

When trying to run the launch script I'm getting this message:

'tools.jar' seems to be not in Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE.

I've tried setting JAVA_HOME to /etc/alternatives/jre_1.8.0_openjdk which I found by searching, but that hasn't worked. I know the install comes with openjdk, or maybe just jre, and also that it's headless. I've run "sudo dnf install java" which I think got the rest, but I'm not sure where that was installed to, or whether it comes with a JDK.

Edit: I've tried all the possible paths, paths that were already in /lib/jvm, but with no luck. I downloaded the Oracle JDK, both the x86 version and the 64 version and those don't seem to work either, even though they certainly do have tools.jar. I'm still getting the same error message as before.

Setting $JAVA_HOME on new install for Android Studio

I'm currently setting up Android Studio on a new F22 install.

When trying to run the launch script I'm getting this message:

'tools.jar' seems to be not in Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE.

I've tried setting JAVA_HOME to /etc/alternatives/jre_1.8.0_openjdk which I found by searching, but that hasn't worked. I know the install comes with openjdk, or maybe just jre, and also that it's headless. I've run "sudo dnf install java" which I think got the rest, but I'm not sure where that was installed to, or whether it comes with a JDK.

Edit: I've tried all the possible paths that were already in /lib/jvm, /usr/lib/jvm, but with no luck. I downloaded the Oracle JDK, both the x86 version and the 64 version and those don't seem to work either, even though they certainly do have tools.jar. I'm still getting the same error message as before.