GenPage

Java
Upgrading Java version 1.6 to 1.7

10 posts in this topic

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

Lol the current version of Java is 8 U5 but i have both 7 U60 and 8 U5 i never had java 6, 5, etc

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

my java is fully updated updated but i can only go far as 1gb and next to the memory option it gives a orange circle with a ! in it im so confused 

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

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

  • Similar Content

    • By Kehlani
      The bug:
      Type of bug: Launcher bug. Reproduction rate: 10/10. Technic launcher keeps crashing on me when I'm in-game due to low memory. It also does lag a decent amount.
      Shader/Resource pack:
      I use shaders and an x32 pixel resource pack. I have the same setup in vanilla Minecraft and it works fine there. Technic will still crash even without a resource pack and shader.
      The issue in detail:
      I can't allocate more than 1gb of memory in the java settings in the technic launcher. I have tried to go to advanced system settings in system and checking out the environment variables. I cannot find "_JAVA_OPTIONS" in there. I can find "C:\Program Files (x86)\Common Files\Oracle\Java\javapath" in the system variables but that's it when it comes to java. I just downloaded technic launcher again after a long time (around 2 years). It used to work fine and I used to be able to allocate way more ram (I believe I used 4GB back then). Technic launcher is updated. My draw distance within minecraft is set to 8. 
      OS and Java version:
      I have an x64 bit operating system. I also have java downloaded for an x64 bit operating system. I have confirmed this by running vanilla Minecraft (not technic) and putting my view distance to far. According to this post  https://goo.gl/bpK4qw , if I had x34 bit java installed it would just give me an error message but that does not happen with me. I have also made sure to download the x64 bit version of java and I have updated it.
      ALL INFORMATION ABOUT COMPUTER SPECS + OS + LOGS + MC 
      System specs:  https://imgur.com/a/ryE71LV
      250gb SSD (60gb free space) + 2TB HDD (650gb free space) (I run technic from my HDD). 750W PSU. Windows and my graphics card driver is updated.
      LOG: I tried pasting the log into paste.ubuntu and pastebin but the log is too large and my browser can't handle it (the file size is 25MB). I pasted quite a bit of the end of the log. Sorry but that's the best I can do here and hopefully, it will provide some information of importance: https://paste.ubuntu.com/p/ZFGmBvcqh2/
    • By Crystogon
      So I've been trying to open the technic launcher but it won't load past the logo.

    • By JoeyTheTapeDispenser
      My technic launcher wont load on my mac past the wrench logo  help
    • By PicoMiko
      Hello everyone
      I have been trying to make a Tekkit server but I have seem to run into a problem
      Whenever I run the "launch.bat" file, I get an error from the CMD that goes something along the lines of this:
      A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.base/java.lang.reflect.Method.invoke(Unknown Source)
              at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:48)
              at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:17)
      Caused by: java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader
              at net.minecraft.launchwrapper.Launch.<init>(Launch.java:33)
              at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
              ... 6 more
       
      Does anyone know the solution to this? I would really appreciate it!
    • By khaiwvan
      hey body !! i 'm using macbook with high sierra and i can't open technic-applications, when it running ,i saw the logo Technic and notthing happened