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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:47 PM.

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

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