Skip to main content



      Home
Home » Archived » Visual Editor (VE) » JAR Files with Eclipse
JAR Files with Eclipse [message #130576] Fri, 01 September 2006 11:13 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Parse error on a custom panel ArrayIndexOutOfBoundsException
Next Topic:Subclassing JPanel and accessing components
Goto Forum:
  


Current Time: Mon Jun 16 19:09:17 EDT 2025

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

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

Back to the top