So, I have Millenaire 1.3.2 on my mac (10.8.2) and it is constantly crashing (Minecraft). I looked it up and lots of Mac users are saying its because you need to have Java 1.7, and when mine crashes it says I have 1.6. I looked for the update for Java, found it and installed it. I checked and Oracle says I have Java 1.7, but when I open 'Java Preferences' on my mac it says I have 1.6 still, but under the Java app in system preferences it says I have 1.7. How do I make Minecraft use 1.7??
Open Terminal (you can find it in Applications/Utilities/Terminal or by searching spotlight for Terminal) then type "java -version" followed by enter. What does it say?
Rollback Post to RevisionRollBack
Need your server status on your website? Check out mcapi.us!
java version "1.6.0_35"
Java™ SE Runtime Environment (build 1.6.0_35-b10-428-11M3811)
Java HotSpot™ 64-Bit Server VM (build 20.10-b01-428, mixed mode)
java version "1.6.0_35"
Java™ SE Runtime Environment (build 1.6.0_35-b10-428-11M3811)
Java HotSpot™ 64-Bit Server VM (build 20.10-b01-428, mixed mode)
I got the 7 update from Here and it installs, makes that java app in system preferences where it says I have 1.7, but terminal and 'java preferences' say I have 1.6...
Update: it worked!!! Thanks a lot! Maybe now my minecraft won't crash every 5 minutes!
Update 2: Excitement downgraded; I went into java preferences and Java 7 is there and I disabled Java 6. I tried to launch minecraft and it said 'No compatible version of Java 1.6+ is available'... I went into preferences again, and re-enabled Java 6, tried to launch minecraft and it launched. I opened snooper in minecraft and it is still using Java 1.6 What do I do?
Also, in my Java Virtual Machines Folder, it says 1.6.0.jdk, not 1.7.0... This is so strange
Edit: Realized I just double-posted, sorry about that.
Another Update: Ok, so in that directory in the command you told me to say, there is only 1.6.0, but if you go to /Library/Java/JavaVirtualMachines theres one called jdk1.7.0_07.jdk that was made after I did the command '/usr/libexec/java_home -v 1.7.0_07 --exec javac -version' . I edited your command to direct toward that file and now got the following from terminal '
[/size][/font][/color]
[color=#444444][size=small][font="arial, helvetica, sans-serif"]oms-MacBook-Pro:~ Tom$ /Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home/bin/java
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-d32 use a 32-bit data model if available
-d64 use a 64-bit data model if available
-server to select the "server" VM
The default VM is server,
because you are running on a server-class machine.[/font][/size][/color]
[color=#444444][size=small][font="arial, helvetica, sans-serif"] -cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A : separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -no-jre-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions with specified granularity
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions with specified granularity
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-splash:<imagepath>
show splash screen with specified image
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
-
View User Profile
-
View Posts
-
Send Message
Retired StaffNeed your server status on your website? Check out mcapi.us!
@Syfaro
Java™ SE Runtime Environment (build 1.6.0_35-b10-428-11M3811)
Java HotSpot™ 64-Bit Server VM (build 20.10-b01-428, mixed mode)
java version "1.6.0_35"
Java™ SE Runtime Environment (build 1.6.0_35-b10-428-11M3811)
Java HotSpot™ 64-Bit Server VM (build 20.10-b01-428, mixed mode)
I got the 7 update from Here and it installs, makes that java app in system preferences where it says I have 1.7, but terminal and 'java preferences' say I have 1.6...
-
View User Profile
-
View Posts
-
Send Message
Retired StaffNeed your server status on your website? Check out mcapi.us!
@Syfaro
-
View User Profile
-
View Posts
-
Send Message
Retired StaffTry downloading and installing this (direct link to Mac Java JRE7 download).
Need your server status on your website? Check out mcapi.us!
@Syfaro
-
View User Profile
-
View Posts
-
Send Message
Retired StaffHere's a non-direct link.
Need your server status on your website? Check out mcapi.us!
@Syfaro
Update: it worked!!! Thanks a lot! Maybe now my minecraft won't crash every 5 minutes!
Update 2: Excitement downgraded; I went into java preferences and Java 7 is there and I disabled Java 6. I tried to launch minecraft and it said 'No compatible version of Java 1.6+ is available'... I went into preferences again, and re-enabled Java 6, tried to launch minecraft and it launched. I opened snooper in minecraft and it is still using Java 1.6
Edit: Realized I just double-posted, sorry about that.
Another Update: Ok, so in that directory in the command you told me to say, there is only 1.6.0, but if you go to /Library/Java/JavaVirtualMachines theres one called jdk1.7.0_07.jdk that was made after I did the command '/usr/libexec/java_home -v 1.7.0_07 --exec javac -version' . I edited your command to direct toward that file and now got the following from terminal '
[/size][/font][/color] [color=#444444][size=small][font="arial, helvetica, sans-serif"]oms-MacBook-Pro:~ Tom$ /Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home/bin/java Usage: java [-options] class [args...] (to execute a class) or java [-options] -jar jarfile [args...] (to execute a jar file) where options include: -d32 use a 32-bit data model if available -d64 use a 64-bit data model if available -server to select the "server" VM The default VM is server, because you are running on a server-class machine.[/font][/size][/color] [color=#444444][size=small][font="arial, helvetica, sans-serif"] -cp <class search path of directories and zip/jar files> -classpath <class search path of directories and zip/jar files> A : separated list of directories, JAR archives, and ZIP archives to search for class files. -D<name>=<value> set a system property -verbose[:class|gc|jni] enable verbose output -version print product version and exit -version:<value> require the specified version to run -showversion print product version and continue -jre-restrict-search | -no-jre-restrict-search include/exclude user private JREs in the version search -? -help print this help message -X print help on non-standard options -ea[:<packagename>...|:<classname>] -enableassertions[:<packagename>...|:<classname>] enable assertions with specified granularity -da[:<packagename>...|:<classname>] -disableassertions[:<packagename>...|:<classname>] disable assertions with specified granularity -esa | -enablesystemassertions enable system assertions -dsa | -disablesystemassertions disable system assertions -agentlib:<libname>[=<options>] load native agent library <libname>, e.g. -agentlib:hprof see also, -agentlib:jdwp=help and -agentlib:hprof=help -agentpath:<pathname>[=<options>] load native agent library by full pathname -javaagent:<jarpath>[=<options>] load Java programming language agent, see java.lang.instrument -splash:<imagepath> show splash screen with specified image See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.-
View User Profile
-
View Posts
-
Send Message
Retired StaffIf so, just make a shell script that runs it, chmod +x it, and use that to run Minecraft.
Need your server status on your website? Check out mcapi.us!
@Syfaro
-
View User Profile
-
View Posts
-
Send Message
Retired StaffNeed your server status on your website? Check out mcapi.us!
@Syfaro