java-home Questions

7

I'm trying to set my JAVA_HOME in Cygwin with this command: export JAVA_HOME="/cygdrive/c/Program Files/Java/jdk1.7.0_10" But when I do cd $JAVA_HOME, I'd get this error: $ cd $JAVA_HOME -bash:...
Launalaunce asked 28/1, 2013 at 17:1

3

Solved

When I run this task: task tmpTask << { project.properties.each {println " $it"} } I see: org.gradle.java.home=/usr/lib/jvm/java-6-oracle But how to use this variable? I've tried...
Divagate asked 11/5, 2015 at 14:36

9

I'm pretty new on ubuntu, at some point in the terminal I'm running: mortar local:illustrate pigscripts/retail-recsys.pig purchase_input -f params/retail.params but I have this following error: ...
Sun asked 17/4, 2014 at 4:35

2

Solved

When I ran mvn -version, I noticed the java_home points to ...jdk\jre (as shown below). Is that wrong? Isn't it supposed to point to ...\jdk.x.y.z (without the \jre)? If so, how do I reset it? (In ...
Urogenous asked 7/3, 2013 at 19:3

18

I went to the Environment Variables in 'System' in the control panel and made two new variables, one for user variables and one for system variables. Both were named JAVA_HOME and both pointing to ...
Eskimo asked 12/4, 2010 at 2:37

22

Solved

When trying to run Android Studio on my computer, I get the following error: The Environment variable JAVA_HOME (with a value of C:\Program Files(x86)\Java\jdk1.7.0_51\bin) does not point to a v...
Fiore asked 20/4, 2014 at 17:16

6

Solved

I have JDK 1.7_51 and JRE 1.7.79 update. My JAVA_HOME is set to C:\Program Files\Java\jdk1.7.0_51 and JRE_HOME is set to C:\Program Files\Java\jre7(update 79) and PATH points to JDK 1.7_51/bin. W...
Quiroz asked 11/7, 2015 at 0:40

1

Solved

Windows 10 user. I recently installed git for the first time, but ran into a peculiar issue. I was told that I needed to set the JAVA_HOME environment variable if I wanted to use java within git. ...
Overcapitalize asked 12/8, 2018 at 17:47

7

Solved

I am on the verge of releasing a project but it seem JAVA_HOME is been inconsistent. Maybe it's been overridden somewhere else? I am using ubuntu 14.04 and I have openjdk-7, java-7-oracle, java-8-o...
Businesswoman asked 6/11, 2014 at 9:52

3

I set my JAVA_HOME variable to point to the jdk and I added %JAVA_HOME%\bin to the Path variable. However, my ant script is not able to find the jdk. It's looking into the wrong folder for Java com...
Encyclopedia asked 15/9, 2011 at 22:26

3

Solved

I try the command line with JavaHome: netbeans-trunk-nightly-201803230002-javase-windows.exe --javahome "C:\Program Files\Java\jdk-10" It should work, but I receive a message: There is no JR...
Tiga asked 27/3, 2018 at 0:23

3

I need to set the variables like JAVA_HOME and update PATH. There are a number of ways of doing this. One way is to update the /etc/environment variable and include a line for JAVA_HOME using the l...
Waltner asked 2/8, 2015 at 18:19

1

Solved

I'm new on Mac, so I installed Cordova (Node, Git, Grandle) but I can't execute it in my mobile phone, I mean I can't do "sudo Cordova run android" because it can't find "JAVA_HOME&q...
Bellyband asked 28/3, 2018 at 9:19

11

I've recently set up an OSX machine and i have trouble getting Maven to pickup JAVA_HOME when running inside Eclipse. I've done the following so far: Set JAVA_HOME in ~/.bash_profile with export...
Nevile asked 1/12, 2013 at 14:54

10

I'm trying to run cassandra 3.0 in datastax. But i'm getting an error saying Cassandra 3.0 and later require Java 8u40 or later. I have installed java and moved the jdk1.8.0_65 to /usr/local/java...
Portly asked 21/12, 2015 at 22:7

10

I am trying to sign a jar file using an ANT script. I know this has to be pointed at the JDK directory for jarsigner.exe to run, but when I echo java.home it returns the JRE directory. This isn't...
Totipalmate asked 17/8, 2009 at 14:43

9

When i try to start SQLDeveloper, it is giving me the following error in command prompt: Error: This product requires a Java(TM) Platform 5.0 runtime. You are using 1.4.2-b28 from C:\j2sdk1.4.2\jr...
Affixation asked 2/4, 2014 at 11:42

6

I have read some comments about setting JAVA_HOME. As I am a beginner in this,I did not edit anything without any knowledge of what I was doing. I did not want to mess things up more than this. So ...
Mathew asked 14/1, 2014 at 15:10

2

Solved

In my java code, I have this line System.getProperty("java.home"). In some environments, this returns the same value as what has been set JAVA_HOME as environment variable. But in some environment...
Gangrel asked 1/8, 2017 at 15:10

3

Solved

I am not sure why "which java" and "whereis java" paths are not correct. I tried to edit ~/.bash_profile and /etc/environment but did not help. The desired path is what is seen in "echo $JAVA_HOME"...
Countable asked 19/10, 2013 at 15:34

3

Solved

I was watching the Android development video and they asked us to install JDK and create JAVA_HOME environment variable. I already have MyEclipse installed and I previously had setup the PATH varia...
Magee asked 21/7, 2017 at 20:53

5

Solved

Here is my system info wangbo@ubuntu:~$ uname -a Linux ubuntu 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux When I check java version java version...
Hibbs asked 5/4, 2017 at 11:10

4

Solved

When I built the Jikes RVM on Ubuntu, I got this error. Any idea? bin/buildit localhost production ---> Config: production /bin/bash --login -c '/bin/bash --login -c " cd /home/jack/Programs/ji...
Fulgurant asked 13/6, 2012 at 16:24

18

Solved

I just downloaded the Android Studio. While trying to run it, I had to modify the environment variable and add JAVA_HOME and C:\Progra~2\Java\jdk1.6.0_22 Once I finished that hurdle, now...
Murphey asked 14/1, 2014 at 16:45

24

Solved

I get the error: C:\dev\ws\springapp\build.xml:81: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently ...
Moldau asked 13/10, 2009 at 7:55

© 2022 - 2024 — McMap. All rights reserved.