This is a discussion on ant fail to build because java version is not high enough? within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> My java version 1.5.0-beta2 is higher than that required 1.4.1, so why ant fail to build? $ ant Buildfile: ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| My java version 1.5.0-beta2 is higher than that required 1.4.1, so why ant fail to build? $ ant Buildfile: build.xml JDK.version.check: [CheckVersion] Exception in thread "main" java.lang.RuntimeException: JDK 1.4.1 or higher is required to run the examples in this book. [CheckVersion] at com.bruceeckel.tools.CheckVersion.main(Unknown Sour ce) BUILD FAILED file:/home/tcma/TIJ/codedev/c14/build.xml:38: Java returned: 1 Total time: 1 second $ java -version java version "1.5.0-beta2" Java(TM) 2 Runtime Environment, # Java HotSpot(TM) 64-Bit Server VM (build 1.5.0-beta2-b51, mixed mode) Linux version 2.6.7-gentoo-r11 |
| |||
| TCMA enlightened us with: > My java version 1.5.0-beta2 is higher than that required 1.4.1, so why > ant fail to build? You are using a beta version of Java. Why are you surprised things don't work as expected? Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? |
| |||
| TCMA wrote: > My java version 1.5.0-beta2 Stop right there! That version of Java is severely broken, and will fail to compile just about any current Java packages. Revert to the stable version now, if you want things to work! -- PeKaJe Good teaching is one-fourth preparation and three-fourths good theatre. -- Gail Godwin |
| ||||
| shameus.burp@gmail.com enlightened us with: > I've tried to compile this code Which code? > with full release1.5.0, 1.4.2_06 Release of what software? > and get the same stupid errors. What errors? Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? |