Re: [webots-users] compiling java programs in linux
Olivier Michel <[email protected]> Mon, 26 Jul 2004 13:20:11 +0200
| Newsgroups | gmane.comp.cybernetics.webot.contest |
|---|---|
| Organization | Cyberbotics Ltd. |
| Message-ID | <[email protected]> |
Hi Rui,
You should use the Makefile provided in the Judoka1 directory by typing
make. This will call the java compiler this way:
javac -classpath /usr/local/webots/lib/Controller.jar:. Judoka1.java
-Olivier
domus_pt wrote:
>Hi all!
>
>I'm new to java and I'm trying to compile the Judoka0.java file
>under linux but I get an error I just can't understand. Below is the
>information on my computer:
>
>[zodiak@localhost Judoka1]$ javac Judoka1.java
>Judoka1.java:1: error:Can not found
>"com/cyberbotics/webots/Controller" [JLS 7.5.2, 7.6]
>Judoka1.java:1: error:Cannot find class
>"com/cyberbotics/webots/Controller" [JLS 8]
>
>Can anybody help me to solve this problem?
>
>Thanks a lot!
>
>Rui Alves
>http://zodiak.f2o.org
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/pU_rlB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/webots-contest/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/