help-make
[Top][All Lists]
Advanced

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

Trying to get java to build under make


From: John Osen
Subject: Trying to get java to build under make
Date: Sat, 31 Jan 2004 12:03:04 -0600

I am having trouble getting a java file to compile under gnu make, which I just downloaded from CygWin. Here is what I get running from the DOS shell:

C:\bin\lejos\examples\hworld>javac -verbose -target 1.1 -bootclasspath C:/bin/lejos/lib/classes.jar;C:/bin/lejos/lib/rcxrcxcomm.jar;.;C:\bin\lejos/lib/classes.jar;C:\bin\lejos/lib/pcrcxcomm.jar HelloWorld.java
[parsing started HelloWorld.java]
[parsing completed 62ms]
[loading C:\bin\lejos\lib\classes.jar(java/lang/Object.class)]
[loading C:\bin\lejos\lib\classes.jar(java/lang/String.class)]
[loading C:\bin\lejos\lib\classes.jar(java/lang/Exception.class)]
[checking HelloWorld]
[loading C:\bin\lejos\lib\classes.jar(java/lang/Throwable.class)]
[loading C:\bin\lejos\lib\classes.jar(josx/platform/rcx/LCD.class)]
[loading C:\bin\lejos\lib\classes.jar(josx/platform/rcx/TextLCD.class)]
[loading C:\bin\lejos\lib\classes.jar(java/lang/Thread.class)]
[loading C:\bin\lejos\lib\classes.jar(java/lang/Error.class)]
[loading C:\bin\lejos\lib\classes.jar(java/lang/InterruptedException.class)]
[loading C:\bin\lejos\lib\classes.jar(java/lang/RuntimeException.class)]
[wrote HelloWorld.class]
[total 156ms]

Here is what I get out of make:
C:\bin\lejos\examples\hworld>make HelloWorld.class
makefile:53: warning: overriding commands for target `HelloWorld.class'
makefile:50: warning: ignoring old commands for target `HelloWorld.class'
javac -verbose -target 1.1 -bootclasspath C:/bin/lejos/lib/classes.jar;C:/bin/lejos/lib/rcxrcxcomm.jar;.;C:/bin/lejos/lib/classes.jar;C:/bin/lejos/lib/pcrcxcomm.jar HelloWorld.java
[total 31ms]
PK??: not found
-s`-: not found
META-INF/PK??: not found
PK??: not found
-s`-?1U?--¶META-INF/MANIFEST.MFManifest-Version:: not found
-Version:: not found
Created-By:: not found
PK??: not found
C:/bin/lejos/lib/rcxrcxcomm.jar: 11: Syntax error: ")" unexpected
PK??: not found
*s`-: not found
META-INF/PK??: not found
PK??: not found
*s`-?1U?--¶META-INF/MANIFEST.MFManifest-Version:: not found
-Version:: not found
Created-By:: not found
PK??: not found
C:/bin/lejos/lib/classes.jar: 11: Syntax error: "(" unexpected
PK??: not found
,s`-: not found
META-INF/PK??: not found
PK??: not found
,s`-?1U?--¶META-INF/MANIFEST.MFManifest-Version:: not found
-Version:: not found
Created-By:: not found
PK??: not found
C:/bin/lejos/lib/pcrcxcomm.jar: 11: Syntax error: ")" unexpected
make: *** [HelloWorld.class] Error 2

It seems to me that make is playing with '\' versus '/'.

Thanks for your time.

John






reply via email to

[Prev in Thread] Current Thread [Next in Thread]