Results 1 to 2 of 2
  1. #1
    michelkogan is offline Member
    Join Date
    May 2012
    Rep Power

    Default Error running javac in Ubuntu 11.04

    I'm trying to install JDK 1.7 in Ubuntu 11.04 but when I run the following command:

    Java Code:
    javac -version
    I'm getting error below:

    Java Code:
    Error: could not find
    Error: Could not find Java SE Runtime Environment.
    here is some information about my system configuration for you in order to solve my problem:
    The end of /etc/profile:

    Java Code:
    export JDK_HOME
    export JAVA_HOME
    export PATH
    output of /etc/ :

    Java Code:
    output of $PATH:

    Java Code:
    Please help me to solve my problem.

  2. #2
    k1ng is offline Member
    Join Date
    Apr 2012
    Rep Power

Similar Threads

  1. Replies: 4
    Last Post: 04-24-2012, 08:08 PM
  2. Java Applet Error at Eclipse on Linux Ubuntu
    By bytescode in forum Java Applets
    Replies: 2
    Last Post: 01-31-2011, 10:49 AM
  3. Replies: 0
    Last Post: 01-04-2011, 08:44 PM
  4. Replies: 5
    Last Post: 07-07-2010, 12:50 PM
  5. Javac error
    By Sotsiak in forum New To Java
    Replies: 5
    Last Post: 06-04-2010, 08:33 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts