avatar
y*i
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
avatar
c*r
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

avatar
y*i
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.

avatar
m*n
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?

avatar
B*N
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?

avatar
m*n
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.
:

avatar
c*r
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?

avatar
y*i
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
avatar
m*n
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

avatar
y*i
10
I think he meant the executable java, not necessarily java.exe.

【在 m****n 的大作中提到】
: how can you run a java.exe on a AIX?
avatar
m*n
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.
avatar
P*f
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

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。