Posted on 1998-07-12
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" to compile.  Would anyone care to let me know how to add this to my compilation?  ( I am using a deprecated API)  thanks  
Question by:uotila
  • 2

Author Comment

Comment Utility
Edited text of question

Accepted Solution

mintt earned 20 total points
Comment Utility
Oh that's easy
javac -deprecation

Expert Comment

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

Author Comment

Comment Utility
Great....thanks...could not find that addressed in any book.

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