Jump to content

Upgrading Java version 1.6 to 1.7


GenPage

Recommended Posts

With the next upgrade in Minecraft and Minecraft mods progressing into 1.7.2, more and more mods are dropping support for Java 6.
 
Before upgrading Java make sure your computer supports it by checking here: http://java.com/en/download/help/sysreq.xml
 
Unlike Windows and Mac, major Linux distributions such as Ubuntu, Fedora or Red Hat Enterprise Linux offer OpenJDK as their default Java SE implementation.
 



32-bit vs 64-bit and what does it mean?
 
Long story short, you cannot run a computer with more memory than 4GB if you use 32-bit.
 
Technic recommends using 64-bit versions of Java (if supported). This allows more memory for Minecraft to use. 
 
Questions or how to check your system can be found here:
 
Windows users: http://windows.microsoft.com/en-us/windows/32-bit-and-64-bit-windows
 
Mac users: http://support.apple.com/kb/ht3696 
 
Linux users: http://stackoverflow.com/a/246014
 


If you are needing to upgrade your Java install, grab a copy from here http://java.com/en/download/manual.jsp and follow these guides:
 
Windows Users:
 
Check what version of Java your running by going here: http://java.com/en/download/uninstallapplet.jsp
 
Or checking your installed programs by going to: Control Panel -> Programs and Features
 
and following this guide: http://java.com/en/download/help/windows_offline_download.xml
 


Mac Users:
 
You have special requirements for installing/uninstalling Java on your computers
 
Please read CLOSELY here: http://java.com/en/download/faq/java_mac.xml

 

If you cannot uninstall Java 6, install Java 7 and then follow thses steps:

 

  • Next start the Java Preferences app from /Applications/Utilities
  • Drag Java 7 to the top of the list like in the screenshot. This will make locally run Java applications use Java 7 instead of Java 6.
  • You can uncheck the Java 6 options if you do not want them to be allowed to run.
  • This section is for the Java runtime for local applications, and has nothing to do with the web plugin.

 

icf9wiq4aNZ7c.png

 



Linux Users:
 
Ubuntu and Fedora users: http://openjdk.java.net/install/
 
Red Hat, SUSE, Oracle, Oracle Enterprise, SLES users: http://java.com/en/download/help/linux_install.xml



After you have installed Java 7, check to make sure it is installed here: http://java.com/en/download/installed.jsp
 
Hope this helps clear things up!

 

EDIT: Add Mac instructions.

Link to comment
Share on other sites

I use a Mac, but sadly the link you provided doesn't help me out much. I have installed Java 7 (both the JRE and the JDK) on my Mac, and when I go into Terminal and type:

java -version

It will show that I have a version of 1.7. And when I go to the Java Control Panel located in the Mac's System Preferences it also states that I have Java 7, update 60. (The recommended build)

 

But when I launch things such as Minecraft (from the normal launcher) and ModPacks from Technic Launcher it STILL persists to use the default Mac OS X Java 6... I have even tried going into Minecraft's Info.plist and changing the version of Java it is supposed to run to Java 7 directly, but after doing so it says that no compatible version of Java 7 was found. Despite other places in my computer stating that I DO in fact have Java 7 successfully installed.

 

Any help with this would be greatly appreciated... I have already spent many hours looking for an answer on the internet, but to no avail.

 

EDIT: This post relates to my problem and some of the things I have tried:

'?do=embed' frameborder='0' data-embedContent>>

Edited by NuclearNarwhal
Link to comment
Share on other sites

What version of Mac OS X are you running?

 

and have you tired these steps: http://java.com/en/download/help/mac_uninstall_java.xml

Why would I want to uninstall Java 7? Isn't that what I want? Also, I am running OS X 10.9.3.

 

EDIT: Good news everyone! I found a way to get Minecraft to run Java 7! You simply have to run the Bootstrap.jar directly, instead of through the application. I'm not sure why it makes a difference... But it works for me. The only problem though is that I don't know how to launch my ModPack directly. Seeing as you usually do it through the Technic Launcher. But if I do it that way it will still use Java 6 (I think) for when I launch the ModPack from there.

 

MOAR EDITS: Also, GenPage, can you make sense of this crash report?

https://gist.github.com/anonymous/a241cc436af47abd74c7

Edited by NuclearNarwhal
Link to comment
Share on other sites

Okay here is what you do:

  • Next start the Java Preferences app from /Applications/Utilities
  • drag Java 7 to the top of the list like in the screenshot. This will make locally run Java applications use Java 7 instead of Java 6.
  • You can uncheck the Java 6 options if you do not want them to be allowed to run.
  • This section is for the Java runtime for local applications, and has nothing to do with the web plugin.

 

icf9wiq4aNZ7c.png

Link to comment
Share on other sites

Okay here is what you do:

  • Next start the Java Preferences app from /Applications/Utilities
  • drag Java 7 to the top of the list like in the screenshot. This will make locally run Java applications use Java 7 instead of Java 6.
  • You can uncheck the Java 6 options if you do not want them to be allowed to run.
  • This section is for the Java runtime for local applications, and has nothing to do with the web plugin.

The JavaPreferences.app was removed in one of the more recent updates as far as I know... Is there any way to access it using the newer Mac OS X?

Edited by NuclearNarwhal
Link to comment
Share on other sites

  • 7 months later...
  • 1 year later...

For the PC, i had to remove(uninstall) all instances of Java, then use the Windows Offline link in Oracles site to get the 64 bit version, also you may have to DL the 64 bit versions of any browser you use as well. the PCs should be able to have both 32 bit and 64 bit installed, but for some reason Tekkit launcher would only read 32.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...