Creating the plug-in project: Error: Main class not found [message #1094927] |
Mon, 26 August 2013 11:54 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Othmar Lippuner![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=ollio%40gmx.ch) Messages: 12 Registered: August 2013 |
Junior Member |
|
|
I'd like to learn about Eclipse Plugin development to find ways to integrate my codegenerators into Eclipse IDE. For this I went through this tutorial
www.vogella.com/articles/EclipsePlugIn/article.html
In the end, when I try to run the sample code with contextmenue[Manifest.MF] > run as > Eclipse application
I get
Error: Main class Files\Java\jdk1.7.0_03\.. could not be found or loaded
eg. in my german IDE-Environment
Fehler: Hauptklasse Files\Java\jdk1.7.0_03\.. konnte nicht gefunden oder geladen werden.
Right, there is no
public static void main(String[] args)
in the generated project code.
Next I tried out the tutorial "A minimal Plugin" in the "Plattform Plugin Developers Guide". Some result.
Whats wrong? I'm I missing something? Help is appreciated.
Kinde regards
OL
[Updated on: Mon, 26 August 2013 16:33] Report message to a moderator
|
|
|
|
Re: Creating the plug-in project: Error: Main class not found [message #1095114 is a reply to message #1094991] |
Mon, 26 August 2013 16:44 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Othmar Lippuner![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=ollio%40gmx.ch) Messages: 12 Registered: August 2013 |
Junior Member |
|
|
Meanwhile I taken great length to pin down the problem. Without success.
I aggree "Fehler: Hauptklasse Files\Java\jdk1.7.0_03\.. konnte nicht gefunden oder geladen werden" looks like argument segmentation/extraction goes wrong somewhere.
Is it a software bug?
Is it a eclipse configuration error I can correct?
Is my environment not correct?
To eclude the third option
some information:
Windows 7; 64 Bit
JAVA_HOME=JAVA_HOME=C:\Programme\Java\jdk1.7.0_09
Path=C:\Program Files\Java\jdk1.7.0_09;.....
I deliberately changed to jdk1.7.0_09 but I still get the errormessage with "..Files\Java\jdk1.7.0_03\".
My "normal" applications run on eclipse in Run and Debug mode like a charm. Only the Plugin-Sampleprojects won't work.
Basically the environment name resolution does seem to not work correctly when a plugin project is started.
Can anyone give me a clue where this "..Files\Java\jdk1.7.0_03\" value comes from?
Any suggestions to make things happen?
regards OL
[Updated on: Mon, 26 August 2013 16:46] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02908 seconds