🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder
1 messages
1 total messages Started by ian Thu, 26 May 2005 18:05
Can't get JBuilder 2005 to compile with JDK1.4
#42
Author: ian
Date: Thu, 26 May 2005 18:05
24 lines
2004 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads