Installing cdtdebug.sh script [message #1737283] |
Wed, 06 July 2016 17:49  |
Eclipse User |
|
|
|
Hi all,
I'm getting a "java.lang.ClassNotFoundException" error when attempting to run cdtdebug.sh, has anyone seen this before?
Here's what I've tried:
1) Install Eclipse Neon (version 4.6.0 / Build id 20160613-1800) and select "Eclipse IDE for C/C++ Developers"
2) I found cdtdebug.sh in the ~/.p2 directory and attempted to run the installer script ~/.p2/pool/plugins/org.eclipse.cdt.debug.application_1.1.0.201606062011/scripts/install.sh) but installation failed:
./install.sh: error: eclipse executable not found in expected location
3) After debugging cdtdebug.sh it looks like this needs to be run from my Eclipse installation directory so I copied the "org.eclipse.cdt.debug.application_1.1.0.201606062011" directory to Eclipse configuration directory (/eclipse/cpp-neon/eclipse/configuration/)
4) Run install.sh from Eclipse configuration directory...success!
5) Run newly created ~/cdtdebugger/cdtdebug.sh file...got an error
./cdtdebug.sh: 86: ./cdtdebug.sh: [[: not found
6) Re-run install.sh from "~/eclipse/cpp-neon/eclipse/configuration/org.eclipse.cdt.debug.application_1.1.0.201606062011" to ensure that the ECLIPSE_HOME variable gets set correctly
7) Run cdtdebug.sh again, new error:
!SESSION Wed Jul 06 14:29:59 PDT 2016 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2016-07-06 14:29:59.547
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:670)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
Also, I am running Ubuntu 16.04 (64-bit).
Any idea what I'm doing wrong?
Thanks
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04233 seconds