BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can't get JBuilder 2005 to compile with JDK1.4

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder
View previous topic :: View next topic  
Author Message
ian
Guest





PostPosted: Thu May 26, 2005 6:05 pm    Post subject: Can't get JBuilder 2005 to compile with JDK1.4 Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.