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 Catmallow
      Here's the deal. When I launch the technic launcher, the discover tab says "the discover page is currently unavailable." The news are also blank. Finally, the default modpacks are there. However, their icon is grey cube icon (possibly the default icon), I can't see any likes, dislikes, etc. And I can't install or launch anything. The search button doesn't allow anything to appear, even from a letter. I currently have 64 bit java installed and am using Windows 10. I'm also able to connect to minecraft.net, so that's not the issue. Running as administrator only reveals the same result. 
      Here's my pastebin. I noticed the typical error 403 with java. Sorry I couldn't use all of it, seeing as I don't want to pay money for pro. It also says that several files don't exist, which is really strange to me.
      https://pastebin.com/5VDYZ24m
      P.S. I downloaded the launcher today, so I know it's up to date.
    • By BAG
      Yes, before anyone asks, java -version gives me this:
      So I'm using java 8. Technic launcher is still stuck on the loading screen. Please help!
    • By kurtsteel
      I am currently trying to host my own server for 'the 1.7.10 pack' and having a few issues one after the other, I've followed many tutorials and such but still no luck. This is the current error I'm getting on my console.

      **
      OS is 64
      Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option PermSize; support was removed in 8.0
      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:43)
      at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12)
      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:34)
      at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
      ... 6 more
      Press any key to continue . . .
      **


      I can open the server and connect to it, the mods load but the mods contents are unusable... if I place a block down it instantly disappears and removes from it my inventory and also doesn't let me take items from NEI. Any help would be much appreciated, if more information is needed then please just ask.
    • By hperd
      Edit: I just tested to only run Minecraft without the Server, going into a Single Player World and the RAM usage is going up contunously. I set the RAM usage in the Technic Launcher to 4GB, why is it then going higher than that?
      So I'm running a Server with the Mod Pack "After Humans" and I provided the start.bat with the Java Arguments "-Xmx 4G -Xms-1G" and in the Technic Launcher I set the maximum RAM usage to 4GB.
      When the Server is running it is taking around 2.5GB to 3GB of RAM in maximum but the strange thing is, when Minecraft itself is running it's starting at 2GB and is going continously up? Yesterday for example it went to around 8.6GB RAM? If I'm pressing inside Minecraft F3 to see the usage of RAM it says it's using 1.3 to 1.6GB of 4096MB but in the Task Manager it's going continuesly up... Why is that?
      Is Java just adding the Arguments from TL and Server.bat up to one (8GB)?
      Everytime Java is using all my RAM my computer starts to bug out (black monitors / explorer is crashing / can't see my desktop symbols anymore / ...).
      I hope someone can help me out.
      My System is as follows: 16GB RAM, i7-4770, GTX 1060, Win 10 64 bit
    • By Doc050
      Tried to download mods from the technic launcher and they wouldn't download. The screen showed the install animation for about a second and then went back again.
       
      I got this error message from the control panel log: 
      [B#355] 2018/02/27 12:33:42 [SEVERE] Download of http://www.gravatar.com/avatar/417979e451a4ed37c22f5340a9c3cd4a?s=60&d=retro Failed!
      [B#355] 2018/02/27 12:34:21 [INFO] Starting download of http://cdn.technicpack.net/platform2/pack-icons/552556.png?1445088955, with 3 tries remaining
      [B#355] 2018/02/27 12:34:30 [INFO] Starting download of http://cdn.technicpack.net/platform2/pack-icons/552556.png?1445088955, with 3 tries remaining
      [B#355] 2018/02/27 12:34:32 [INFO] Starting download of http://cdn.technicpack.net/platform2/pack-icons/552556.png?1445088955, with 3 tries remaining