java irgendwie klappt da was nich ! Azureus problem ?

high-voltages

high-voltages

Eroberer
PHP:
webzone:/usr/java/jre1.5.0_10/lib/ext # java -jar Azureus2.jar --ui=console
-bash: java: command not found

PHP:
webzone:/usr/java/jre1.5.0_10/lib/ext # nohup java -jar Azureus2.jar --ui=console
nohup: appending output to `nohup.out'
nohup: cannot run command `java': No such file or directory

wie darf ich das verstehen ???

MFG
High-voltages
 
<Pfad zu>/java<Version>/bin/java -jar <Pfad zu deiner .jar> <weitere Optionen>

Versuchs mal damit.
 
Zuletzt bearbeitet:
Da wird wohl java nicht im Pfad stehen?
Probiers mal mit dem direkten Aufruf '/usr/java/jre1.5.0_10/bin/java' (in deinem Fall, nehm ich an, oder ähnlich)
 
wenn du mal die PATH-Variable ausgibst (echo $PATH) müsstest du sehen, ob Java mit drinnen ist.
Wenn dein javapfad nicht drinnen ist, wirst du ihn hinzufügen müssen.
 
danke erst mal !
habs problem gefunden !
hat ne verlinkung gefehlt
er kannte daher den befehl java gar nicht.

aber nun taucht auch schon das nächste problem auf !
es sieht folgendermaßen aus
PHP:
webzone:/opt/azureus # java -jar Azureus2.jar --ui=console
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLine

MFG
High-voltages
 
ok habs auch noch hinbekommen
haben 2 datein gefehlt
log4j.jar
commons-cli.jar

wenn ich nun das ausführe
PHP:
nohup java -jar Azureus2.jar --ui=console
nohup: appending output to `nohup.out'
das scheint zu funktionieren
java läuft wenn ich top eingebe
allesdings will ich das ganze über ein plugin steuern webui
PHP:
webzone:/opt/azureus # java -classpath Azureus2.jar;webui_1.6.10.jar org.gudy.azureus2.ui.webplugin.remoteui.applet.RemoteUIApplet server-url
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)

where options include:
    -d32          use a 32-bit data model if available

    -d64          use a 64-bit data model if available
    -client       to select the "client" VM
    -server       to select the "server" VM
    -hotspot      is a synonym for the "client" VM  [deprecated]
                  The default VM is client.

    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A : separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose[:class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -jre-no-restrict-search
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>[=<options>]
                  load native agent library <libname>, e.g. -agentlib:hprof
                    see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
                  load Java programming language agent, see java.lang.instrument
    -splash:<imagepath>
                  show splash screen with specified image
-bash: webui_1.6.10.jar: command not found

MFG
High-voltages
.
.
.
EDIT (autom. Beitragszusammenführung) :
.

habs geschaftt !
danke für eure Hilfe


MFG
High-voltages
 
Zuletzt bearbeitet:

Ähnliche Themen

NagiosGrapher 1.7.1 funktioniert nicht

Samba 4 Gast Zugang unter Ubuntu funktioniert nicht

dovecot und postfix Konfiguration Problem

Windows clients können nicht mehr auf lange laufendes System zugreifen

Falsche Rechte gesetzt beim Anlegen von Ordnern via Samba-Client

Zurück
Oben