Solved

Deprecation

Posted on 1998-07-12
4
371 Views
Last Modified: 2010-03-30
I have written a java program that compiles, but I get a warning that I need to recompile using -deprecation.  I am in a Unix environment and typically use "javac program_name.java" to compile.  Would anyone care to let me know how to add this to my compilation?  ( I am using a deprecated API)  thanks  
0
Comment
Question by:uotila
  • 2
4 Comments
 

Author Comment

by:uotila
Comment Utility
Edited text of question
0
 

Accepted Solution

by:
mintt earned 20 total points
Comment Utility
Oh that's easy
javac -deprecation program_name.java
0
 
LVL 5

Expert Comment

by:msmolyak
Comment Utility
javac without parameters would show you all the acceptable options. Also the JDK documentation describes all the executables included into the kit.
0
 

Author Comment

by:uotila
Comment Utility
Great....thanks...could not find that addressed in any book.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
triangle challenge 4 74
countPairs challenge 7 57
strDist challenge 35 83
advertisement module in core php 4 76
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now