![]() |
|
Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
Help & Support Information on the useage and anything else of Phex
- Unless you are using or asking about PHEX, please do not post in this section (Get ”Phex 3.4.2.163 universal" now) |
![]() |
| LinkBack | Thread Tools | Display Modes |
|
| |||
![]() when I try to run phex on Fedora 9 X86_64 with all the updates I get: Code: [phex]$ java -jar lib/phex.jar Exception in thread "main" java.lang.UnsupportedClassVersionError: phex/Main (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader*****run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) Code: [phex]$ java -version java version "1.4.2-03" Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-03) Java HotSpot(TM) 64-Bit Server VM (build Blackdown-1.4.2-03, mixed mode) What am I doing wrong! Sorry if this a FAQ, I tried and could find and/or understand the answer. If it is a FAQ just point me in the direction of the URL. Thanks for any help. |
| |||
![]() Phex requires at least Java 5 to run, Java 6 is fine too. This is since Phex 3.0 I would recommend to install the Sun Java package, Phex is not tested with other Java packages and I not sure if it would run. http://www.phex.org/wiki/index.php/Java |
| ||||
![]() Just check in yum if you can install java 1.6: Quote:
Happy sharing! Arne
__________________ ![]() -> put this banner into your own signature! <- -- Erst im Spiel lebt der Mensch. Nur ludantaj homoj vivas. GnuFU.net - Gnutella For Users Draketo.de - Shortstories, Poems, Music and strange Ideas. |
| |||
![]() Quote:
Code: [masoud]$ rpm -qa|grep openj openjade-1.3.2-31.fc9.x86_64 java-1.6.0-openjdk-plugin-1.6.0.0-0.16.b09.fc9.x86_64 java-1.6.0-openjdk-1.6.0.0-0.16.b09.fc9.x86_64 An here is more info: Code: [masoud]$ sudo /usr/sbin/alternatives --config java There are 3 programs which provide 'java'. Selection Command ----------------------------------------------- 1 /usr/lib/jvm/jre-1.5.0-gcj/bin/java + 2 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java * 3 /opt/jre1.6/bin/java Enter to keep the current selection[+], or type selection number: Last edited by mpajoh; July 31st, 2008 at 03:52 PM. |
| |||
![]() Do I understand you right? You have a jre plugin for Firefox installed? If this is a complete JRE installation you should be able to use this JRE for Phex too. You might just need to find out the JRE installation directory and call inside the phex installation directory something like: /path_to_jre/bin/java -jar lib/phex.jar Edit Try to call: /opt/jre1.6/bin/java -jar lib/phex.jar I assume /opt/jre1.6/bin/java is just linked to /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java Apparently the java in your env path is a 1.4.2 installation, even though you have a more up-to-date installation available. |
![]() |
| |