Hello,
My problem is making 'javac -target 1.2 -bootclasspath
/jre1.2/lib/rt.jar' work under jdk 1.4.2 on solaris with applets.
Explanation:
We have a web application jsp/servlets with applets.
Up until now we have used jdk1.2.2, everything working fine and
servlets/applets being 1.2.2 compatible.
We updated jdk to 1.4.2 and changed the code to work under 1.4.2 and
also
corrected all deprecated in 1.4.2. BUT, since all users still have jre
1.2.2
we had to make the application run under 1.2.2 as well.
1 This works:
Compiling all applet code with 1.2.2, plus all dependencies of course.
Compile rest of the code with 1.4.2. It is not pretty...
2 This doesnt work:
'javac -target 1.2 -bootclasspath /jre1.2.2/lib/rt.jar' when accessing
an applet with <applet code="" >
Note:
I dont have jdk1.2.2 installed, i copied the rt.jar from another
server.
Why doesnt 2 work...?
Peter