java explorer
Pages
Home
Design Patterns
DS & Algo
Core Java
Garbage Collection
Multithreading
Serialization
DP
Java Hacks
ENUM
Collections
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