| 
| Standalone SWT Tutorial: Can't find main class [message #169097] | Sat, 17 July 2004 02:01  |  | 
| Eclipse User  |  |  |  |  | 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  |  | 
| Eclipse User  |  |  |  |  | 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
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.03123 seconds