Merci pour cette réponse rapide.
leold a écrit
tu le lance avec ton java par un click droit ouvrir
Ca ne fonctionne pas, rien ne se passe.
J'ai OpenJDK java Runtime 6
lance le fichier doubleckickpourjouer.bat
Ne donne rien
java -jar ./numberrace.jar
Donne :
Exception in thread "main" java.lang.NoClassDefFoundError: org/jmat/data/AbstractDoubleArray
at graphics.screens.ChoiceScreen.<init>(ChoiceScreen.java:92)
at graphics.Game.<init>(Game.java:161)
at graphics.Game.main(Game.java:189)
Caused by: java.lang.ClassNotFoundException: org.jmat.data.AbstractDoubleArray
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 3 more
java -cp jmat_5.0.jar;bsh-core-1.2b7.jar;numberrace.jar;. graphics.Game
Donne :
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
-cacao to select the "cacao" VM
-zero to select the "zero" 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 with specified granularity
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions with specified granularity
-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
See
http://java.sun.com/javase/reference for more details.
bsh-core-1.2b7.jar : commande introuvable
numberrace.jar : commande introuvable
bash: graphics.Game: Aucun fichier ou dossier de ce type
Il y a l'air d'avoir un problème java.
Je n'ai pas analysé les réponses et je ne sais pas toujours le faire.