 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
ian Guest
|
Posted: Thu May 26, 2005 6:05 pm Post subject: Can't get JBuilder 2005 to compile with JDK1.4 |
|
|
I've got a Java project that uses ANT to build. It works fine in
Eclipse but I can't get JBuilder2005 to compile it with Java 1.4. No
matter what I try, it still uses Java 1.5 to compile. Here's what I did
so far:
1) installed J2SDK1.4.0_04 on my PC
2) went to Tools->Configure->JDKs and added that JDK to JBuilder
3) added my project to JBuilder
4) opened up Project->Project Properties:
a) in Paths, pointed the JDK to 1.4.0_04
b) in Build->Java:
- set Compiler to: "Project javac"
- set Language features and Target VM to: "Java 2 SDK, v1.4"
c) in Build->Ant:
- checked "use project JDK when running Ant"
When I do a make on my top-level build.xml file I get a ton of 1.5
error messages about the new "enum" keyword. No matter how I configure
the options above it always uses Java 1.5 to compile. Any ideas?
BTW, I have never installed JDK1.5 on my machine (except for whatever
JBuilder uses).
- Ian
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|