Not able to run Eclipse Application. Can't even start Eclipse IDE

前端 未结 12 1182
再見小時候
再見小時候 2020-12-03 23:06

I have an RCP product which doesn\'t run. Then I installed Eclipse freshly, and when I open Eclipse.exe it doesn\'t open Eclipse IDE. I get the error: NoClassDefFoundError:

相关标签:
12条回答
  • 2020-12-03 23:45

    I had the same error. So, I found next solution :

    1. Go to folder with eclipse.exe. and open configuration file

    2. After that delete line "-vmargs" and add Your path to JDK (In my occasion is C:\Program Files\Java\jdk1.7.0_79\bin)

      1. Now Your eclipse should start normally.
    0 讨论(0)
  • 2020-12-03 23:48

    I have faced the same issue. Uninstall all the java version you have on your machine from control panel. Then re-install the java and try launching eclipse. it works for me.

    0 讨论(0)
  • 2020-12-03 23:53

    I think that the problem could be that the mercury "bundle" is somehow referenced but not in the classpath.

    0 讨论(0)
  • 2020-12-03 23:53

    Check if virtual machine is running properly or not. If not uninstall and re-install jdk.

    0 讨论(0)
  • 2020-12-03 23:56

    i know this question has been asked a long before,i am answering because if somebody later views this question then they will get idea how to do it as @java programmer said ,eclipse looks for the default location C:\Java\jdk1.6.0_33\jre\bin\javaw.

    you can also manually set the path if your java is installed in some other path. the way is simple search for eclipse.ini file and open it with wordpad. Now search for "open file" below that write the full path for the javaw. see the screen shot. for example if your java is installed in c drive then the full path for javaw would be

    C:\Program Files\Java\jdk1.6\bin\javaw.exe
    

    now save the file eclipse.ini and now double click on eclipse.exe. It will run .

    enter image description here

    0 讨论(0)
  • 2020-12-03 23:58

    QTP installation mess up with classpath of many applications.

    Recommending setup a batch file to run each time so the global setup is not modified.

    set IBM_JAVA_OPTIONS=
    set _JAVA_OPTIONS=
    set JAVA_TOOL_OPTIONS=
    
    cd [your eclipse.exe]
    eclipse.exe
    

    Save it as .bat file and double click to run. You should see the eclipse working.

    0 讨论(0)
提交回复
热议问题