LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   Java Compiler Path On Amazon EC2/Ubuntu (http://www.linuxquestions.org/questions/programming-9/java-compiler-path-on-amazon-ec2-ubuntu-4175421498/)

jmessick 08-10-2012 07:27 PM

Java Compiler Path On Amazon EC2/Ubuntu
 
I am studying java. I can compile and test on my laptop, but was trying to get it working under Ubuntu on an Amazon EC2 account. But when I tried to compile there were apparently several versions in the path. I'd just like it to resolve to the most current version. I'm pretty rusty with Unix, do you know how I can fix my path? Thanks. James

BTW, here's a sample of my call to the compiler and the response I got. James

ubuntu@ip-10-80-173-103:~/java$ javac v*
The program 'javac' can be found in the following packages:
* openjdk-6-jdk
* ecj
* gcj-4.4-jdk
* gcj-4.6-jdk
* gcj-4.5-jdk
* openjdk-7-jdk

Thanks, jem

crabboy 09-04-2012 08:53 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

http://www.linuxquestions.org/questi...tu-4175422186/


All times are GMT -5. The time now is 10:51 PM.