Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » JAR Export does not allow to select Main class
JAR Export does not allow to select Main class [message #646644] Wed, 29 December 2010 15:07 Go to next message
OPERA is currently offline OPERAFriend
Messages: 1
Registered: December 2010
Junior Member
Hello

I want to save my java applet into a JAR-file. I am using File -> Export and select Jar File to enter the JAR export wizzard.

on 1st screen I have selected the src directory and
[x] Export generated class files and resoures and
[x] Export Java source files and resources

JAR file: myproject\test1.jar

Options
[x] Add directory entries

2nd screen:
[x] Export files with comp errors
[x] Export files with warnings
[x] Build projects if not build automatically

3rd screen
(X) Generate the manifest file
[x] save the manifest in the workspace
Mainfest file: /myproject/mainfest

(X) Seal some packages Nothing sealed.

Select the class of appl entry point:
Main class: _________________ [BROWSE]


When using the Browse buttom, I get a new window 'Select Main Class' but it does not contain any of my classes. Why ?

regards
MR
Re: JAR Export does not allow to select Main class [message #646963 is a reply to message #646644] Mon, 03 January 2011 14:47 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 29.12.2010 16:08, OPERA wrote:
> Hello
> I want to save my java applet into a JAR-file. I am using File ->
> Export and select Jar File to enter the JAR export wizzard.
>
> on 1st screen I have selected the src directory and
> [x] Export generated class files and resoures and
> [x] Export Java source files and resources
>
> JAR file: myproject\test1.jar
>
> Options
> [x] Add directory entries
>
> 2nd screen:
> [x] Export files with comp errors
> [x] Export files with warnings
> [x] Build projects if not build automatically
>
> 3rd screen
> (X) Generate the manifest file
> [x] save the manifest in the workspace
> Mainfest file: /myproject/mainfest
>
> (X) Seal some packages Nothing sealed.
>
> Select the class of appl entry point: Main class:
> _________________ [BROWSE]
>
>
> When using the Browse buttom, I get a new window 'Select Main Class'
> but it does not contain any of my classes. Why ?
Probably because none of them has a main method.

Dani
>
> regards
> MR
>
Previous Topic:Compilation of gwt project's is very slow
Next Topic:Project Specific Classpath Container
Goto Forum:
  


Current Time: Fri Apr 26 13:21:24 GMT 2024

Powered by FUDForum. Page generated in 0.03123 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top