Results 1 to 12 of 12
  1. #1
    shahid0627 is offline Member
    Join Date
    Aug 2009
    Posts
    16
    Rep Power
    0

    Default I can't run eclipse

    Dear all,
    I have installed jre-1_5_0_14-windows-i586-p.exe but I cant run eclise.It is saying that "version 1.4.2_03 of the JVM is not suitable for this product.Version 1.5 or greater is required."
    Plz help.
    Shahid0627

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    8

    Default

    You'll need to tell eclipse where this new Java version is on your computer.

  3. #3
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Location
    Zurich, Switzerland
    Posts
    962
    Rep Power
    6

    Default I can't run eclipse

    My advice: If you want to develop with java, install the newest jdk ex. jdk-6u16-windows-i586.exe from java.sun.com. Before you do this, uninstall the jre from your computer and then read the jdk installation instructions carefully. good luck.

  4. #4
    shahid0627 is offline Member
    Join Date
    Aug 2009
    Posts
    16
    Rep Power
    0

    Default

    according to j2me64 advise I've install newest jdk but it is showing the same message and not running.

  5. #5
    shahid0627 is offline Member
    Join Date
    Aug 2009
    Posts
    16
    Rep Power
    0

    Default

    Dear r035198x,
    I can't run eclipse.exe.
    and I can't understand what you want to say.plz tell me again.

  6. #6
    shahid0627 is offline Member
    Join Date
    Aug 2009
    Posts
    16
    Rep Power
    0

    Default

    Dear r035198x,
    I can't run eclipse.exe.
    and I can't understand what you want to say.plz tell me again.

  7. #7
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    8

    Default

    Go to the directory where eclipse is installed and find a file called eclipse.ini.
    Open it and add the following line

    -vm
    C:\Java\JDK\1.5\bin\javaw.exe

    Make sure:
    1.) You add that text before any -vmargs option that may be in that file.
    2.) The -vm is on its own line and the path to javaw.exe is on its own line.
    3.) You specify the full path to your JDK 1.5's javaw.exe

  8. #8
    shahid0627 is offline Member
    Join Date
    Aug 2009
    Posts
    16
    Rep Power
    0

    Default

    Thanks r035198x,
    now I can run eclipse.exe,but i cannot understand where from I can run the Visual editor.
    Shahid0627

  9. #9
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    8

    Default

    What visual editor? Do you mean the JSP visual editor or what?

  10. #10
    shahid0627 is offline Member
    Join Date
    Aug 2009
    Posts
    16
    Rep Power
    0

    Default

    I mean where from I can design GUI form in eclipse like netbeans(where there is option "design").

  11. #11
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    8

    Default

    No such thing comes with eclipse by default (rightfully so). You can search for plugins for that if you wish to have them. Better stay away from such things IMO and do your interface "by hand".

  12. #12
    Join Date
    Feb 2011
    Posts
    1
    Rep Power
    0

    Default

    r035198x, I'd just like to add my appreciation for your help. That was a real gotcha!

    One thing I noticed is that the Java version used (if you don't explicitly specify one in your eclipse.ini file) is not the one referred to by your JAVA_HOME; rather it's whatever can be found on your path. Try typing java -version on a command line to which version this is.

    The full details of what JVM Eclipse is going to use can be found here:
    FAQ How do I run Eclipse? - Eclipsepedia

    and for the gory details of the eclipse.ini file
    Eclipse.ini - Eclipsepedia

Similar Threads

  1. Replies: 2
    Last Post: 01-27-2009, 03:10 PM
  2. Eclipse Bug - Can't Read From A File Using Eclipse?
    By carlodelmundo in forum New To Java
    Replies: 6
    Last Post: 01-26-2009, 05:25 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
  •