Java runtime

asked 2013-02-26 08:42:19 -0500

teunie75 gravatar image

I'm trying a Minecraft modpack, but my Java doesn't work right. When running this it gives the message:

This application requires a newer version of the Java runtime. Please download and install the latest Java runtime from java.com. Then restart the application.

But when I try to do: rpm -i <newest java="" package=""> it says it's already installed. I got these java packages:

java version "1.7.0_09-icedtea"
OpenJDK Runtime Environment (fedora-2.3.7.0.fc18-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

And the terminal displays this error:

Exception in thread "Thread-0" java.lang.UnsupportedOperationException: TRANSLUCENT translucency is not supported.
    at java.awt.Window.setOpacity(Window.java:3598)
    at java.awt.Dialog.setOpacity(Dialog.java:1331)
    at java.awt.Window$1.setOpacity(Window.java:4008)
    at com.sun.awt.AWTUtilities.setWindowOpacity(AWTUtilities.java:174)
    at start.Start$2.run(Start.java:48)
edit retag flag offensive close merge delete

Comments

2

Just out of interest, what Modpack are you trying to use? Also, It may just be that the openJDK environment is not compatable with the modpack that you are trying to use. Check out https://fedoraproject.org/wiki/Java/FAQ?rd=JavaFAQ#Fedora.27sJavaenvironmentdoesnotprovidethefunctionalityIrequire.CanIinstall_another.3F for more info on trying out other Java environments. It may be that openJDK does not support the transluecenty the modpack requires. If you do end up fixing this issue, be sure to answer your own question so others can benefit in the future!

ryanlerch gravatar imageryanlerch ( 2013-02-26 09:03:58 -0500 )edit
2

@teunie75 you should try to install oracle jdk version -> #8784

hhlp gravatar imagehhlp ( 2013-02-26 10:19:40 -0500 )edit

@ryanlerch I used the Voids Wrath modpack, and now I got the launcher working with this: http://www.if-not-true-then-false.com/2010/install-sun-oracle-java-jdk-jre-7-on-fedora-centos-red-hat-rhel/ But now the launcher works the game won't start, and I still get the error with the launcher working though

teunie75 gravatar imageteunie75 ( 2013-02-26 16:06:54 -0500 )edit

I get this error: Exception in thread "Thread-0" java.lang.UnsupportedOperationException: TRANSLUCENT translucency is not supported. at java.awt.Window.setOpacity(Unknown Source) at java.awt.Dialog.setOpacity(Unknown Source) at java.awt.Window$1.setOpacity(Unknown Source) at com.sun.awt.AWTUtilities.setWindowOpacity(Unknown Source) at start.Start$2.run(Start.java:48) And the Java versions now: java version "1.7.015" Java(TM) SE Runtime Environment (build 1.7.015-b03) Java HotSpot(TM) 64-Bit Server I changed it with the switch code given in the tutorial

teunie75 gravatar imageteunie75 ( 2013-02-26 16:09:46 -0500 )edit