![]() |
|
|||||||
| Register | FAQ | The Twelve Commandments | Members List | 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) |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
||||
|
||||
|
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. |
|
#4
|
|||
|
|||
|
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. |
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
Quote:
Thanks a lot. Masoud |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| fedora core 6 limewire | ultimate | General Linux Support | 0 | November 2nd, 2006 05:23 PM |
| Frostwire and Fedora Core 4 | jadedknight | FrostWire | 1 | March 18th, 2006 07:13 AM |
| Can't connect with Fedora | tyrani | Connection Problems | 1 | July 24th, 2005 07:37 PM |
| 4.1.10 and 4.2.2 not launching under Fedora | Matamoros | General Linux Support | 6 | November 24th, 2004 02:39 PM |
| installing on fedora core 1 | eldados | General Linux Support | 5 | May 5th, 2004 12:03 PM |