Bug 272 : spaces or quotes in PATH environment variable prevents applets from compiling
Last modified: 2006-01-15 06:33




Status:
RESOLVED
Resolution:
DUPLICATE of bug 112
Priority:
P2
Severity:
normal

 

Reporter:
Aaron
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2006-01-13 01:39
Yesterday I installed Microsoft Visual Studio 2005. Today, I attempted to
compile a project I've been working on to find that it now fails. After
testing various other projects, I found that it was only the projects that
use a class defined in a .java file that fail to compile. The error message
that comes up when trying to compile these projects is this:

java.lang.NoClassDefFoundError: Files\Microsoft
Exception in thread "main"

I use a modified version of Dan Shiffman's Vector3D.java class in many of
my projects and now they won't compile. What has MS Visual Studio done to
screw this all up? Thanks.

-Aaron
Additional Comment #1 From fry 2006-01-13 05:56
it's because there are spaces and/or quotes that have been added to your
PATH by the visual studio install.

if there are quotes, remove them. if that doesn't fix it, at last resort
you can make DOS 8.3 path names out of the folders that have spaces in
them. for instance, "program files" becomes "progra~1". for instructions on
dealing with your path, do a search on the discourse board, this issue has
come up a lot.
Additional Comment #2 From Aaron 2006-01-13 10:21
You were right. Specifically, it was the DirectX SDK that added quotes to
the class path environment variable. My stuff is compiling again. Thanks
for the swift response, Fry.
Additional Comment #3 From fry 2006-01-15 06:33


*** This bug has been marked as a duplicate of 112 ***