Forums Register Login

java 5 and java 6 compatability

+Pie Number of slices to send: Send
Hi All,

My production server has jre5 but the application in my local runs in jre6 . can i run that application in my production server which is java5


Best Regards,
Kowshik NS
+Pie Number of slices to send: Send
Only if you
a) do not use any class, method or field that was introduced in Java 6; these will have a "Since Java 1.6" inside the Javadoc pages.
b) use the -target 1.5 compiler flag to get binary compatibility. If you forget this you will get an error when running your code.
Let's get him boys! We'll make him read this tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 612 times.
Similar Threads
getting error while starting the jboss
Reading colsole logs.
Is JBoss free?
JSTL Pagination and Deletion
Java Version for Struts2
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 01:42:38.