WordRider Home
Welcome! Log In Create A New Profile

Advanced

ubuntu 8.04 java

Posted by Peta 
ubuntu 8.04 java
January 18, 2009 03:44PM
Mám problém při spuštění frd.sh na ubuntu 8.04 - v Linuxu jsem začátečník
mám nainstalovanou Sun Java(TM) Runtime Environment (JRE) 6 (architecture independent files)

při poklikání na frd.sh dostanu tuto hlášku
Application error - Unableto launchthe application
could not parse launch file. Error at line 0.
launch file
!/bin/sh
# How to configure FreeRapid application installed locally in your computer.

# The script bellow shows how I am running FreeRapid on my Linux (Kubuntu)

#How do I register Java binaries globally on Linux?
#You must place the correct path to the installed binaries in your /etc/bashrc configuration file.
#for example:
#PATH=/jdk1.6.0/bin:/jdk1.6.0/jre/bin:$PATH

#If you need to set a path to JRE uncomment and update these lines:
# export JRE_PATH=/opt/jre1.6.0_08
# $JRE_PATH/bin/java -jar frd.jar "$@"

#otherwise...
java -jar frd.jar "$@"

Exception
JNLParseException[ Could not parse launch file. Error at line 0.]
at com.sun.javaws.jnl.XMLFormat.parse(XMLFormat.java:58)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:52)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:64)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:95)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:113)
at com.sun.javaws.Main.launchApp(Main.java:248)
at com.sun.javaws.Main.continueInSecureThread(Main.java:210)
at com.sun.javaws.Main$1.run(Main.java:107)
at java.lang.Thread.run(Thread.java:619)

Wrapped Exceptation
Failed to find the '<' charater that marks the end of a CDATA element. Exception parsing xml at line 0
at com.sun.deploy.xml.XMLParser.skipPCData(XMLParser.java:182)
at com.sun.deploy.xml.XMLParser.nextToken(XMLParser.java:100)
at com.sun.deploy.xml.XMLParser.parse(XMLParser.java:58)
at com.sun.javaws.jnl.XMLFormat.parse(XMLFormat.java:56)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:52)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:64)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:95)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:113)
at com.sun.javaws.Main.launchApp(Main.java:248)
at com.sun.javaws.Main.continueInSecureThread(Main.java:210)
at com.sun.javaws.Main$1.run(Main.java:107)
at java.lang.Thread.run(Thread.java:619)
Re: ubuntu 8.04 java
January 18, 2009 03:52PM
Hmms, presne nevim.
ale zkus toto - jdi normalne do adresare s FRD a napis toto:
java -jar frd.jar

Pak si na tenhle prikaz treba udelej zastupce..

-------------------------------------

Re: ubuntu 8.04 java
January 18, 2009 05:36PM
Chyba
Tuto aplikaci nejde spustit s JRE verze 1.6.0_0 na Linuxu
Tato verze JRE obsahuje fatální chyby , které zapříčiňují nekorektní funkčnostaplikace FreeRapid Downloader.
Prosím nainstalujte novější verzi JRE.
Nyní dojde k ukončení aplikace.

Jak jsem uvedl výše tak jsem nainstaloval sun-java6-jre a to jsem teď pro jistotu opět zkontroloval ve Spravci balíků Synaptic
Re: ubuntu 8.04 java
January 18, 2009 05:42PM
No a jak je napsano, musis si obstarat nekde novejsi balik, z nejakych novejsich repositaru, protoze na 1.6_0 ti to nepojede. Aktualne je uz 1.6_11.

-------------------------------------

Sorry, only registered users may post in this forum.

Click here to login