Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (843)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Problem with Ant Building  (Read 2530 times)
0 Members and 1 Guest are viewing this topic.
Offline shochu

Junior Devvie

Java games rock!

« Posted 2003-11-26 00:58:30 »

I get the following error when trying to build with ant

Buildfile: C:\Program Files\eclipse\workspace\xith3d\build.xml

       [echo] cleaning ./classes


        [echo] compiling source files
        [echo] javaexe: c:\javaSDK\bin\javac
       [javac] Compiling 354 source files to C:\Program Files\eclipse\workspace\xith3d\classes
BUILD FAILED: file:C:/Program Files/eclipse/workspace/xith3d/build.xml:68: Error running javac.exe compiler
Total time: 734 milliseconds

I changed the following line so that I could be sure that it finds the java compiler

  <property name="javaexe" value="c:\javaSDK\bin\javac"/>

I think I told it the exact directory to look in and yet it still gives me an error.  Does anyone have any ideas?  Thanks!
Offline endolf

JGO Coder

Medals: 7
Exp: 15 years

Current project release date: sometime in 3003

« Reply #1 - Posted 2003-11-26 09:09:19 »

 Instead of changing the build file (which will cause problems for you if the xith team change it) you could just set you JAVA_HOME environment variable to point to your sdk install directory
set JAVA_HOME=c:\j2sdk1.4.2_02
for example



Offline William Denniss

JGO Coder

Projects: 2

Fire at will

« Reply #2 - Posted 2003-11-26 20:28:34 »

Or you can register the java bin directory in your system PATH.

You should be able to run java, javac and javadoc at least without needing to specify their location on the command line.


Pages: [1]
  ignore  |  Print  

EgonOlsen (41 views)
2018-06-10 19:43:48

EgonOlsen (21 views)
2018-06-10 19:43:44

EgonOlsen (42 views)
2018-06-10 19:43:20

DesertCoockie (196 views)
2018-05-13 18:23:11

nelsongames (123 views)
2018-04-24 18:15:36

nelsongames (122 views)
2018-04-24 18:14:32

ivj94 (862 views)
2018-03-24 14:47:39

ivj94 (123 views)
2018-03-24 14:46:31

ivj94 (767 views)
2018-03-24 14:43:53

Solater (140 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!