JAR Files with Eclipse [message #130576] |
Fri, 01 September 2006 11:13  |
Eclipse User |
|
|
|
Originally posted by: fmarcondes.dba.com.br
Hi,
I did a simple SWT aplication with VE and did a JAR File.
When I try to "Execute" this File , recive an error "Could not find the
main class. Program will exit".
When I run a JAR file with a simple class I've no errors.
When I run a JAR file with a Visual class I've errors.
|
|
|
Re: JAR Files with Eclipse [message #130602 is a reply to message #130576] |
Fri, 01 September 2006 11:46  |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
This probably isn't a VE problem. This is a jar packaging problem. Try
asking in the eclipse.platform.swt newsgroup on How to create jars for
SWT projects.
However, did your class have a static main method in it? If you don't
then it won't work.
Have you done any SWT without VE? Do they work?
Do you have the swt dll files in the java library path when starting the
jar?
Francisco wrote:
> Hi,
>
> I did a simple SWT aplication with VE and did a JAR File.
>
> When I try to "Execute" this File , recive an error "Could not find the
> main class. Program will exit".
>
> When I run a JAR file with a simple class I've no errors.
> When I run a JAR file with a Visual class I've errors.
>
>
--
Thanks,
Rich Kulp
|
|
|
Re: JAR Files with Eclipse [message #614593 is a reply to message #130576] |
Fri, 01 September 2006 11:46  |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
This probably isn't a VE problem. This is a jar packaging problem. Try
asking in the eclipse.platform.swt newsgroup on How to create jars for
SWT projects.
However, did your class have a static main method in it? If you don't
then it won't work.
Have you done any SWT without VE? Do they work?
Do you have the swt dll files in the java library path when starting the
jar?
Francisco wrote:
> Hi,
>
> I did a simple SWT aplication with VE and did a JAR File.
>
> When I try to "Execute" this File , recive an error "Could not find the
> main class. Program will exit".
>
> When I run a JAR file with a simple class I've no errors.
> When I run a JAR file with a Visual class I've errors.
>
>
--
Thanks,
Rich Kulp
|
|
|
Powered by
FUDForum. Page generated in 0.03919 seconds