Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Standalone SWT Tutorial: Can't find main class
Standalone SWT Tutorial: Can't find main class [message #169097] Sat, 17 July 2004 02:01 Go to next message
Eclipse UserFriend
Originally posted by: smartin.arcis.com

I find numerous references to the error on net, but no sol'n. I am sure
it has been solved before, but here it goes again.

I am on the final step of building the "Standalone SWT Application" that
comes with Eclipse 3.0.0. I add the
" -Djava.library.path=${system:ECLIPSE_HOME}/plugins/org.eclip se.swt.${system:WS}_3.0.0/os/${system:OS}/${system:ARCH} "
to the VM Arguments in run configuration. But when I run the mini-app,
I get a "Can't find main class" error.

I am using eclipse build 200406251208, and java 1.5beta2. Is there a
perhaps an incompatibility issue with the new 1.5 beta 2?

Thanks,

~Shea M.
Re: Standalone SWT Tutorial: Can't find main class [message #169134 is a reply to message #169097] Sat, 17 July 2004 12:56 Go to previous message
Eclipse UserFriend
Originally posted by: smartin.arcis.com

Shea Martin wrote:
> I find numerous references to the error on net, but no sol'n. I am sure
> it has been solved before, but here it goes again.
>
> I am on the final step of building the "Standalone SWT Application" that
> comes with Eclipse 3.0.0. I add the
> " -Djava.library.path=${system:ECLIPSE_HOME}/plugins/org.eclip se.swt.${system:WS}_3.0.0/os/${system:OS}/${system:ARCH} "
>
> to the VM Arguments in run configuration. But when I run the mini-app,
> I get a "Can't find main class" error.
>
> I am using eclipse build 200406251208, and java 1.5beta2. Is there a
> perhaps an incompatibility issue with the new 1.5 beta 2?
>
> Thanks,
>
> ~Shea M.
I solved the problem. It was spaces in my path. By putting quotes
around the string, it works.

~S
Previous Topic:3.0: Can't start runtime workbench
Next Topic:How to build exe app jar?
Goto Forum:
  


Current Time: Thu Jun 12 07:22:48 EDT 2025

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

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

Back to the top