[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [curn-users] Newbie question



On 10/28/06 15:01, Richard Pickings wrote:
> Hi,
> I'm an old C++ programmer, but new to Java and trying to get curn to run.
> When I run curn.bat, I get the following error:
> 
> C:\Java>curn
> Exception in thread "main" java.lang.NoClassDefFoundError:
> Files\clapper/org\curn
> 
> I apologize for such a simple question, but I've spent several hours
> Googling around and messing with my CLASSPATH to no avail. I've installed
> the Java 5.0 SE JDK and all of the demo programs seem to run just fine. Here
> is my configuration:
> 
> Windows 2000 SP4
> javac 1.5.0_09
> java version "1.5.0_09"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b01)
> Java HotSpot(TM) Client VM (build 1.5.0_09-b01, mixed mode, sharing)
> 
> curn downloaded and installed on 10/20/06
> 
> CLASSPATH - environment variable not set.
> PATH - includes:  C:\Program Files\Java\jdk1.5.0_09\bin
> 
> Thanks for any help!

Richard,

The CLASSPATH is set in the curn.bat file. However, it looks to me like a
simple .bat file quoting issue--one I didn't hit because (a) I typically run
curn on Linux, and (b) when I install curn for testing on Windows, I don't
typically install it under C:\Program Files. I'm betting the space in the
"Program Files" folder name is screwing up the invocation of the Java
executable; it needs to be quoted in the .bat file. (That's my fault.)

Try that. If it fixes the problem, please let me know. (And, of course, if it
doesn't fix the problem, please let me know, too.)

You didn't mention the version of curn that you're using; I'm assuming it's 3.0.

Regards,
-- 
-Brian

Brian Clapper, http://www.clapper.org/bmc/
That's the thing about people who think they hate computers.  What they
really hate is lousy programmers.
	-- Larry Niven and Jerry Pournelle in "Oath of Fealty"
---
*** Posted to the curn-users mailing list (curn-users@xxxxxxxxxxx).



 Back to curn-users archive.