Bug 497506 - cdtdebug.sh script returns "java.lang.ClassNotFoundException" error
Summary: cdtdebug.sh script returns "java.lang.ClassNotFoundException" error
Status: ASSIGNED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 9.0.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-07 12:23 EDT by Bob Jenkins CLA
Modified: 2020-09-04 15:20 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Jenkins CLA 2016-07-07 12:23:01 EDT
If Eclipse Neon (version 4.6.0 / Build id 20160613-1800) is installed by selecting "Eclipse IDE for C/C++ Developers" in the installer if the user at a later time installs cdtdebug.sh the cdtdebug.sh script will not run and the log indicates a "java.lang.ClassNotFoundException" error.

Note that cdtdebug.sh works when the "eclipse-cpp-neon-R-linux-gtk-x86_64.tar.gz" archive is manually extracted. cdtdebug.sh also works when the standalone debugger archive is used.

The problem seems to only occur when installing Eclipse via the "Eclipse IDE for C/C++ Developers" option in the installer.
Comment 1 Bob Jenkins CLA 2016-07-07 12:23:57 EDT
Also link to forum discussion with more details here - https://www.eclipse.org/forums/index.php?t=msg&th=1079090
Comment 2 Marc-André Laperle CLA 2016-10-07 14:29:13 EDT
Is this the same as bug 497512?
Comment 3 Jonah Graham CLA 2016-10-07 14:57:55 EDT
(In reply to Marc-Andre Laperle from comment #2)
> Is this the same as bug 497512?

I don't think it is, this bug looks on quick inspection to be that the cdtdebug script makes assumptions about locations of jars relative to eclipse{.exe}, which are not true when a bundle pool is used.