Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X > OS X 10.8 Mountain Lion

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 1, 2013, 01:32 AM   #1
ilantal
macrumors newbie
 
Join Date: Nov 2012
Location: Haifa, Israel
How to choose java/javac 1.6

I have a previous thread on a similar problem, but now it is well enough defined to ask a better question.
My main machine is Linux where I successfully compiled VTK. The problem is that I have both JDK 1.7 and 1.6 installed and I want to compile with 1.6. In VTK I see it is pointing to /usr/bin/java. If I go into the terminal I can see /usr, but I can't see it in Finder. Linux Nautilus has no such problem in that I can see everything.
In Linux I can look in /usr/lib/jvm and see all my java versions. There is no /usr/lib/jvm on the Mac, only usr/lib/java where I don't see anything which would allow me to choose. (It would also be nice if I had something with a GUI in place of the terminal to look at the disk contents.)
In /usr/bin/java -version I got version 1.7, so I need to find another java which will give a version of 1.6.

Thanks,
Ilan
ilantal is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > OS X 10.8 Mountain Lion

Tags
java

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Some apps prompt to install Java 6 even when Java 7 is installed MacMan988 OS X Mavericks (10.9) 1 Apr 18, 2014 07:56 AM
Java 6.x security risk (?) vs Java 7.x and broken apps w/ v7.x installs? mgiamo Mac Basics and Help 1 Dec 15, 2013 03:48 PM
If you had to choose between IGZO vs Discrete Graphics, what would you choose? Starfyre MacBook Pro 10 Oct 17, 2013 07:36 AM
Chrome on OS X -- Java plugin / Java 7 vs Java 6 Issue booyahbooyah Mac Applications and Mac App Store 4 May 31, 2013 09:13 AM
Resolved: Javac Problem Th3Rabbit Mac Programming 9 Mar 7, 2013 05:30 PM

Forum Jump

All times are GMT -5. The time now is 07:10 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC