Coding Gems
Pages
Home
Design Patterns
DS & Algos
Core Java
Garbage Collection
Multithreading
Serialization
DP
ENUM
Exception
Java Hacks
Monday, 26 October 2015
How to compile Java program version specific?
Compile program Java version
specific
To compile program in a specific Java version, use
-source
option
Example
javac -source 1.3 Demo.java
javac -source 1.4 Demo.java
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment