GenPage

Upgrading Java version 1.6 to 1.7

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.

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Content

    • By NanoByte
      I can't allocate more than 1 GB of RAM to my technic launcer, and before you comment you need to know that I have a 64bit Win10 and 64 bit Java 8 latest version. I also have plenty of memory available (16 more precise) and a pretty nice pc, my only problem is that I can't load any pack because of the Ram restriction 
    • By NebelC0meback
      Hello people of the Technic community, I've had this problem for around 3 weeks now, and after countless hours of research i couldn't get it to work.
      I've got the following problem:
      I've been using Ubuntu (PoPOS) for around 2 months now, and i got really familiar with it. I got minecraft from the repositories no problem whatsoever. But as i wanted to play with mods, My old friend Technic Launcher came to my mind again, so i tried to install it and play some modpacks.
      Problem:
      I've installed the correct java version (OpenJDK 8 ) and put the techniclauncher.jar as an executable. Now when i run the launcher, the installation screen pops up, everything normal. Now when i install it as a portable or just normally, it creates the directory and the installer dissapears. Everything ok until now: When i try to launch Technic again, it just crashes. The java process is running, but starts dissapearing. So i tried again with oracle Java 11. Same problem. It just crashes. When i launch it over Terminal, it gives me this:
       
      [email protected]:/home/muenzlpsaveyourinternet# java -jar '/home/directory/TechnicLauncher.jar' '/home/directory/TechnicLauncher.jar'
      Settings for exe: /home/directory/TechnicLauncher.jar
      Portable settings dir: /home/directory/technic
      Setting up logging
      And nothing else happens, the terminal doesnt continue launching, same with launching without terminal.Nothing opens , just the process i can see in my system manager
      I tried and tried, i uninstalled the runtimes, 8 and 11, tried and tried but nothing worked. I found no answer, now after 2 weeks of trying, I decided to post this here to get some answers from nice people who like to help in the community.
      If you like to help me, just post solutions or suggestions in the section down, please stay simple with ubuntu stuff since i am really new to linux and just getting started. Thanks for any response.
      (replaced my install directory with directory because its pretty much useless for help and might confuse people)
       
    • By JokeInABox
      Hi All,
      when i install a modpack and click play, all it dose is close launcher then minecraft appears in the taskbar takes a few seconds then switches to the name of the mod im trying to play (Legands) then dose nothing, wont let me click on it and when i hover over its just a blank white box. 
      I have tried a Couple of different things to get it to work but to no avail.
      Reinstalled minecraft and launcher
      restart PC 
      Changed to 64bit java and set to 4GB ram 
      checked to see if my NVIDA was up to date 
       
      all help would be greatly appreciated.
      link to my logs https://pastebin.com/rNEDnvKb 
    • By cyndaquilofpower
      I installed the TechnicLauncher.jar file, and I have Java on my Mac, but whenever I go to install it, I believe what happens is it crashes. When I first open the installer it shows me the window to install, and then when I click install, it closes out. Every time I open the file after that, it opens, then closes, then opens again for a bit longer, and then closes. I can't really pinpoint what's wrong, can someone help me out?