Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Eclipse in Linux

  • 27-06-2005 11:21am
    #1
    Closed Accounts Posts: 16


    Hello,

    I'm trying to install eclipse. I've unzipped the download file, but when i run the executable it gives me an error saying that it can't find the jdk. Does anyone know how i can tell it where to look for the jdk?

    I've already tried "./eclipse -vm /usr/home/j2sdk1.4.2_04"

    thanks.


Comments

  • Registered Users, Registered Users 2 Posts: 2,798 ✭✭✭voxpop


    have you installed a jdk ?
    If you have try setting the CLASSPATH variable to point to your jdk path and put the jdk bin folder on you PATH, eclipse should work

    also from a quick google =- "For Linux and Mac OS type "java -version" at a command prompt. If not recognized or for older versions you will need to install it. Make sure to Set variable JAVA_HOME to <install dir> (e.g. C:\jdk1.4.x) and install dir>\bin is in your PATH (e.g. C:\jdk1.4.x\bin)."


  • Closed Accounts Posts: 16 lzhn


    thanks for your help.

    I have installed a jdk (1.4.2_04) and the PATH and CLASSPATH variables both include the path to the bin directory of the jdk. Still no luck.

    btw, here is the error message, i forgot to include it in the first post.

    !SESSION Mon Jun 27 17:11:52 IST 2005
    !ENTRY org.eclipse.core.launcher 4 0 Jun 27, 2005 17:11:52.748
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.RuntimeException: Could not find framework
    at org.eclipse.core.launcher.Main.getBootPath(Main.java:395)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:174)
    at org.eclipse.core.launcher.Main.run(Main.java:704)
    at org.eclipse.core.launcher.Main.main(Main.java:688)


  • Registered Users, Registered Users 2 Posts: 1,865 ✭✭✭Syth


    That doesn't look like you have a problem with not having a JDK installed, since those error messages are java error messages. Looks like it can't find eclipse (i know ho little sense that makes... ) Were you able to install eclipse properly?


  • Registered Users, Registered Users 2 Posts: 304 ✭✭PhantomBeaker


    Check your ~/.eclipse/ directory. In one of the subdirs there's a configuraration directory (in my case it's: ~/.eclipse/org.eclipse.platform_3.0.1/configuration/ ) and there should be a coupla errorlogs there. Scour them. It generally has the entire stack trace, along with some other helpful info - if you know how to read it.

    Still, best just check that javac exists can works properly, compile a few hello world style programs... with various standard imports. It looks like it might be that it can't find the foundation classes.

    Good luck,
    Phantom Beaker


  • Registered Users, Registered Users 2 Posts: 4,003 ✭✭✭rsynnott


    Try setting the environment variable "JAVA_HOME" to where your java installation is.


  • Advertisement
  • Closed Accounts Posts: 16 lzhn


    Syth wrote:
    That doesn't look like you have a problem with not having a JDK installed, since those error messages are java error messages. Looks like it can't find eclipse

    This was where the problem was. I hadn't ticked the box that says "re-create folders" when i extracted the zip, so the directory structure was all wrong and eclipse couldnt find itself.

    extracted it again and now it works!!


Advertisement