hallo,
habe auf der Wiki nach der Installtion von Java nachgeguckt und die Schritte dort auch angewendet. Jedoch kann ich keine Programme komplieren. javac wird nicht erkannt.
wenn ich in der Konsole "java -version" angebe, dann bekomme ich:
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
und wenn ich in der Konsole "java" angebe, dann bekomme ich:
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 propertyverbose[:class|gc|jni]
enable verbose outputversion print product version and exit
version:<value>
require the specified version to runshowversion 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
enableassertions<classname>
enable assertionsdisableassertions<classname>
disable assertionsesa | -enablesystemassertions
enable system assertionsdsa | -disablesystemassertions
disable system assertionsagentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=helpagentpath:<pathname>[=<options>]
load native agent library by full pathnamejavaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
aber wenn ich "javac" eingebe, dann bekomm ich die Fehlermeldung: "bash: javac: command not found"
woran kann das liegen?
danke für eure hilfe
mfg
Bearbeitet von umarmung:
Verschoben zu den Programmierern.