Mint 14 -- java setup issue

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

Mint 14 -- java setup issue

Postby 00negative on Tue Dec 04, 2012 7:28 pm

Trying to get sun java installed and working, while leaving the openjdks installed.

If I type a sudo update-alternatives --config java I get this:

There are 3 choices for the alternative java (providing /usr/bin/java).

Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 auto mode
* 1 /opt/java/64/jdk1.6.0_37/bin/java 1 manual mode
2 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 manual mode
3 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 manual mode

Press enter to keep the current choice[*], or type selection number:


Looks good. But if I type sudo update-alternatives --config jar I get this:

There are 3 choices for the alternative jar (providing /usr/bin/jar).

Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/jvm/java-7-openjdk-amd64/bin/jar 1071 auto mode
1 /usr/bin/fastjar 100 manual mode
2 /usr/lib/jvm/java-6-openjdk-amd64/bin/jar 1061 manual mode
3 /usr/lib/jvm/java-7-openjdk-amd64/bin/jar 1071 manual mode

Press enter to keep the current choice[*], or type selection number:


And when I try and compile I get this error:

make: *** [out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar] Error 41

I assume it is an error with the jar setup but not sure how to fix it. Java wizards help
00negative
Level 1
Level 1
 
Posts: 5
Joined: Tue Dec 04, 2012 7:06 pm

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], nordic, panorain, tellymandeus and 25 guests