(Debian) bash: java: command not found
HI, I have a problem in that I am very familiar with Dr Java under the Windows OS and would like to use it on my Debian Sarge system. I have a project due basically in 2 days and I need to get started on it ASAP. I tried using Eclipse but its way too large for this project - maybe for the next project when I have more time it will be good to use but not yet. In order to run Dr Java I need to enter the command:
java -jar drjava-stable-20040326.jar Now, this returns the reply from the Terminal: bash: java: command not found Now I know that indicates that java is not installed. However, I have installed it using the Graphical interface in the installer found on http://java.sun.com/j2se/1.4.2/download.html. Now I need to get it so my program works perfectly on Java 1.4.2, so I need this version. What have I done wrong? After I ran the Java GUI installer I did nothing else as part of the install. Is there something more I need to do? Thanks, Peter |
Re: (Debian) bash: java: command not found
Quote:
http://wiki.osuosl.org/display/DEV/Java+on+Debian |
Fixed the hard and dirty way via copying the .jar file into my java/bin directory and making a launcher with the command: /opt/j2sdk1.4.2_04/bin/java -jar /opt/j2sdk1.4.2_04/bin/drjava-beta-20040908.jar
Thanks, Peter |
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.
http://www.linuxquestions.org/rules.php I'm closing this one, the thread in Programming http://www.linuxquestions.org/questi...hreadid=234816 remains open. |
All times are GMT -5. The time now is 01:50 PM. |