aspose file tools*
The moose likes Beginning Java and the fly likes Java 1.4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java 1.4" Watch "Java 1.4" New topic
Author

Java 1.4

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I have been using Java 1.2 and 1.3. People told me that the way we compile (javac) and run (java) our Java programs is now different with Java 1.4. How do we compile and run Java programs with Java 1.4?
Dave Landers
Ranch Hand

Joined: Jul 24, 2002
Posts: 401
It's still javac and java
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Your collegues maybe thinking about using assertions with java 1.4. To compile with assertions enabled use
javac -source 1.4 and to run with assertions enabled use java -ea . There are other ways of enabling assertions at runtime, but I do not list them to keep things simple.
-Barry


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java 1.4
 
Similar Threads
converting 1.4 code to 1.5
How to migrate to java 5.0
Running My First Java Application
Using weblogic.appc from eclipse
How to migrate to java 5.0