there is a imformation when I write "javac Test.java" that is " Test.java uses or overrides a deprecated API.
Recompile with -deprecation for details." yes,I want to see the detail,but how,how to do?
for example ,I write like this:javac deprecation Test.java ,but fail,nothing display.....
who can tell me how to use those options correctly?
thanks
1s2k3y4
0
Newbie Poster
Recommended Answers
Jump to Postyou can use following syntax to get help for javac command
javac -help
. To use options with javac you have to put a hypen and the option name like this.In the second command i have used a value for classpath option.
javac -deprecation …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.