Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Need help on running SWT/OpenGL demos
Need help on running SWT/OpenGL demos [message #462364] Tue, 11 October 2005 13:50 Go to next message
user is currently offline userFriend
Messages: 296
Registered: July 2009
Senior Member
I am new to Eclipse/SWT and have been trying to run the OpenGL examples.
When I try to run them I get a dialog that says the main class cannot be
found and a java.lang.NoClassDefFoundError. Could someone tell me what
paths and arguments that I need in the run setup to get these to run?
BTW, the compile works ok.

TIA, Ted
Re: Need help on running SWT/OpenGL demos [message #462388 is a reply to message #462364] Tue, 11 October 2005 21:15 Go to previous message
Billy Biggs is currently offline Billy BiggsFriend
Messages: 94
Registered: July 2009
Member
user@domain.invalid wrote:
> I am new to Eclipse/SWT and have been trying to run the OpenGL examples.
> When I try to run them I get a dialog that says the main class cannot be
> found and a java.lang.NoClassDefFoundError. Could someone tell me what
> paths and arguments that I need in the run setup to get these to run?
> BTW, the compile works ok.

OK, I'll try and make it clearer on the site. It will be easier when
3.2M3 comes out since this will be the first milestone release of SWT to
include the OpenGL integration. Right now the most difficult part is
having a version of SWT in your workspace that's new enough (I20050928
or later). This is likely where you're having trouble.

Here's a document that describes how to set up SWT from CVS. This is
one way to get a new enough version of SWT:\

http://www.eclipse.org/swt/cvs.php

Otherwise, you can grab a recent integration build from the platform
downloads page (from www.eclipse.org/downloads/ click the download
link beside "platform").

-Billy
Previous Topic:How to open modal Swing dialog from Eclipse
Next Topic:how to draw a dash line with gc?
Goto Forum:
  


Current Time: Sun Sep 20 09:10:01 GMT 2020

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

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

Back to the top