jQuery in Action, 3rd edition
The moose likes Ant, Maven and Other Build Tools and the fly likes change in class path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "change in class path" Watch "change in class path" New topic

change in class path

saidi Bandi
Ranch Hand

Joined: Apr 07, 2007
Posts: 64

i am preparing automatic build for our java code.for this we are using SVN server.

for this the subversion will work on jdk1.5, and my code has to run on jdk1.4.

is there any provition to shift the class path from jdk1.5 to jdk1.4? beacause we need to checkout the code and we have to prepare the jars. for that to check out the code we need jdk1.5 & to run prepare jar we need jdk1.4.

thanking you in advance.
Peter Johnson

Joined: May 14, 2008
Posts: 5852

You could set the compiler "source" and "target" to 1.4, this way even though compiling with 1.5 you will get 1.4-compliant class files.

I'd give you more details on how to do this but you never said what tool you were using to do the build.

JBoss In Action
I agree. Here's the link: http://aspose.com/file-tools
subject: change in class path
It's not a secret anymore!