Skip to main content



      Home
Home » Newcomers » Newcomers » Directory names with spaces - is this supported?
Directory names with spaces - is this supported? [message #32613] Thu, 10 March 2005 17:02 Go to next message
Eclipse UserFriend
Hello,

I am just starting to go through the SWT tutorial. When I got to the point
of running it, the console displays the following error, which looks as
though Eclipse is having trouble with folders with spaces:

java.lang.NoClassDefFoundError:
Files\eclipse-SDK-3/0/1-win32\eclipse/plugins/org/eclipse/sw s/win32_3/0/1/os/win32/x86
Exception in thread "main"

As you can see, it is looking for the class in "Files\...", rather than
"C:\Program Files\...".

Should I have installed Eclipse to a directory without spaces in the name?
Should I move it to another directory just by renaming, or will this cause
me other problems?

Thanks,
Matt.
Re: Directory names with spaces - is this supported? [message #33030 is a reply to message #32613] Fri, 11 March 2005 14:44 Go to previous message
Eclipse UserFriend
Originally posted by: Chris_Laffra.ca.ibm.com

What does your command line argument look like?
A classname is not a complete path, but something like java.lang.String.

--
Chris Laffra, http://eclipsefaq.org


"Matt" <Matt.Muggeridge@hp.com> wrote in message
news:d0qg7d$te1$1@www.eclipse.org...
> Hello,
>
> I am just starting to go through the SWT tutorial. When I got to the
point
> of running it, the console displays the following error, which looks as
> though Eclipse is having trouble with folders with spaces:
>
> java.lang.NoClassDefFoundError:
>
Files\eclipse-SDK-3/0/1-win32\eclipse/plugins/org/eclipse/sw s/win32_3/0/1/os
/win32/x86
> Exception in thread "main"
>
> As you can see, it is looking for the class in "Files\...", rather than
> "C:\Program Files\...".
>
> Should I have installed Eclipse to a directory without spaces in the name?
> Should I move it to another directory just by renaming, or will this cause
> me other problems?
>
> Thanks,
> Matt.
>
>
>
Previous Topic:NullPointerException
Next Topic:Code Assistant in 3.1M5a does not work
Goto Forum:
  


Current Time: Sat May 10 03:10:44 EDT 2025

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

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

Back to the top