Results 1 to 4 of 4

Thread: Eclipse error

  1. #1
    SahilTyagi is offline Member
    Join Date
    Jun 2014
    Posts
    2
    Rep Power
    0

    Default Eclipse error

    I had written a few programs on Eclipse IDE. But then I deleted my JDK for some reason. After I re-installed the JDK, and set the new CLASSPATH, even then it is showing an error JRE or JDK is not available.
    I want to restore all my programs which I had written on eclipse, but can't find the location.Eclipse installs on the layer of the OS so I suspect I won't be able to restore my codes, but not so sure.
    Any help guys??
    Thanks.

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,157
    Rep Power
    6

    Default Re: Eclipse error

    Setting your CLASSPATH makes no difference, at the very least you need to update the PATH. But Eclipse doesn't care about that anyway; you should check out the eclipse.ini file you can find in the Eclipse installation directory, it probably still has the path to your old JDK in it.

    Assuming it is Eclipse you are talking about, its not like I can see what's happening on your computer so just referring to "it" isn't really a helpful thing to do. Be specific when you describe a problem.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    SahilTyagi is offline Member
    Join Date
    Jun 2014
    Posts
    2
    Rep Power
    0

    Default Re: Eclipse error

    Quote Originally Posted by gimbal2 View Post
    Setting your CLASSPATH makes no difference, at the very least you need to update the PATH. But Eclipse doesn't care about that anyway; you should check out the eclipse.ini file you can find in the Eclipse installation directory, it probably still has the path to your old JDK in it.

    Assuming it is Eclipse you are talking about, its not like I can see what's happening on your computer so just referring to "it" isn't really a helpful thing to do. Be specific when you describe a problem.

    Thanks, but that does not seem to be the problem..
    I updated the path after I re-installed the JDK, and still whenever I try to open the application "Eclipse", it doesn't even open the software but only gives an error that "A Java RunTime environment must be available to open eclipse.No JVM was found."
    I mostly use NetBeans which is working just fine, but had some codes which I had written on Eclipse. I merely want to restore my codes I had written in eclipse, working or not working eclipse is not an issue. Is there a way to restore my code (I mean does eclipse make a .txt java file of every program you write in it and stores it somewhere? If yes, where??)

  4. #4
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,157
    Rep Power
    6

    Default Re: Eclipse error

    Just copy the Java source files from your eclipse workspace to your netbeans project. I can't tell you where you stored all your stuff, it's your computer so I hope you know what you were doing.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Error in starting eclipse
    By chaitanya_r in forum Eclipse
    Replies: 3
    Last Post: 06-26-2013, 11:32 AM
  2. Eclipse ANSIBuffer error.
    By Bavestry in forum Eclipse
    Replies: 0
    Last Post: 01-04-2013, 06:33 AM
  3. Eclipse Error
    By mgm2010 in forum Eclipse
    Replies: 0
    Last Post: 04-10-2009, 04:25 PM
  4. Out of memory error in eclipse
    By Java.child in forum New To Java
    Replies: 5
    Last Post: 09-05-2008, 05:50 PM
  5. error Tomcat in eclipse
    By Marty in forum Eclipse
    Replies: 1
    Last Post: 05-06-2007, 05:51 PM

Posting Permissions

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