y****i 发帖数: 5690 | 1 IF I can run Java but not Javac on a AIX server, what does it mean?
%javac
Can't find class java.lang.System
%java -?
Usage: java [-options] class [args...]
(to execute a class)
or java -jar [-options] jarfile [args...]
(to execute a jar file)
Does it mean that only JVM is installed on the sever, but JDK? So I can only run jav |
c***r 发帖数: 4631 | 2
only run java code but no compile it on this server?
Or you didn't get permission to do this.
【在 y****i 的大作中提到】 : IF I can run Java but not Javac on a AIX server, what does it mean? : %javac : Can't find class java.lang.System : %java -? : Usage: java [-options] class [args...] : (to execute a class) : or java -jar [-options] jarfile [args...] : (to execute a jar file) : Does it mean that only JVM is installed on the sever, but JDK? So I can only run jav
|
y****i 发帖数: 5690 | 3 I still didn't find out why but I found out that there are some other
folders on the server where java is installed. And one of them works.
I'm just wondering could there be the situation where you only
install JVM so only java available but javac not?
【在 c***r 的大作中提到】 : : only run java code but no compile it on this server? : : Or you didn't get permission to do this.
|
m****n 发帖数: 10 | 4 did you check where javac is and itz permission?
did you set up the classpath?
if you see javac there, you should set your path point to that directory
【在 y****i 的大作中提到】 : I still didn't find out why but I found out that there are some other : folders on the server where java is installed. And one of them works. : I'm just wondering could there be the situation where you only : install JVM so only java available but javac not?
|
B******N 发帖数: 445 | 5
of course。if you install java runtime evironemnt,that's JVM. then only
java.exe avaialbe. if your install java SDK, then both java.exe and javac.exe
avialabe.
【在 y****i 的大作中提到】 : I still didn't find out why but I found out that there are some other : folders on the server where java is installed. And one of them works. : I'm just wondering could there be the situation where you only : install JVM so only java available but javac not?
|
m****n 发帖数: 10 | 6 what r u talking about? see title again
【在 B******N 的大作中提到】 : : of course。if you install java runtime evironemnt,that's JVM. then only : java.exe avaialbe. if your install java SDK, then both java.exe and javac.exe : avialabe. :
|
c***r 发帖数: 4631 | 7 one rule to prevent hacker is to install as small amount of compilers as
possible.
【在 y****i 的大作中提到】 : I still didn't find out why but I found out that there are some other : folders on the server where java is installed. And one of them works. : I'm just wondering could there be the situation where you only : install JVM so only java available but javac not?
|
y****i 发帖数: 5690 | 8 Anything BBloveNN said wrong? I thought he said the right thing(what I
suspected). Does it have anything to do with AIX OS?
javac.exe
【在 m****n 的大作中提到】 : what r u talking about? see title again
|
m****n 发帖数: 10 | 9 how can you run a java.exe on a AIX?
【在 y****i 的大作中提到】 : Anything BBloveNN said wrong? I thought he said the right thing(what I : suspected). Does it have anything to do with AIX OS? : : javac.exe
|
y****i 发帖数: 5690 | 10 I think he meant the executable java, not necessarily java.exe.
【在 m****n 的大作中提到】 : how can you run a java.exe on a AIX?
|
m****n 发帖数: 10 | 11 whatever, find where ur sdk is and set the path to it.
【在 y****i 的大作中提到】 : I think he meant the executable java, not necessarily java.exe.
|
P*****f 发帖数: 2272 | 12 install IBM's JDK for AIX.
you can consult their customer service
【在 y****i 的大作中提到】 : IF I can run Java but not Javac on a AIX server, what does it mean? : %javac : Can't find class java.lang.System : %java -? : Usage: java [-options] class [args...] : (to execute a class) : or java -jar [-options] jarfile [args...] : (to execute a jar file) : Does it mean that only JVM is installed on the sever, but JDK? So I can only run jav
|