Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

change in class path

 
saidi Bandi
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic