Marat Radchenko kirjoitti: > Hi, Gentoo Java Team. > > I'd like to share my thoughts on backwards-compatible compilation. As > you already said, specifying -source and -target is not enough because > different JDKs have different rt.jar. Solution is very simple - you just > need to specify -bootclasspath and point to rt.jar of target jre. The > only problem (he-he) is that you need to get it > somewhere. I see two options: > > 1) Install target jre > 2) Have separate package with rt.jar only. > > Hope this info will be useful. > > With best regards, > Marat Radchenko > Please don't top post. I already tried to explain that we don't necessarily need to make our jars work perfectly with older JDKs we only need the older bytecode so that we are able to compile things. If you really want backwards compatible jars just use *=sun-jdk-1.4 in jdk.conf. Should probably document this on the Java Guide. Regards, Petteri