background information:
1. OS- RedHat Enterprise Linux4
2. JDK installed- java-1.4.2-gcj
hi, i am a newbie trying to compile my java programs. i checked whether any JDK is installed on my system (RHEL4) with following command as a root:
Expand|Select|Wrap|Line Numbers
- /usr/sbin/alternatives --config javac
Expand|Select|Wrap|Line Numbers
- There are 1 programs which provide 'javac'.
- Selection Command
- -----------------------------------------------
- *+ 1 /usr/lib/jvm/java-1.4.2-gcj/bin/javac
- Enter to keep the current selection[+], or type selection number:
Expand|Select|Wrap|Line Numbers
- /usr/lib/jvm/java-1.4.2-gcj/bin/javac HelloWorldApp.java
Expand|Select|Wrap|Line Numbers
- Aborted
with regard
mamoon