RMI trouble

S

somersbar

im pretty new to rmi and im trying to get basic rmi client-callback
program running on windows xp. But wen i try to compile on of the files
in the dos window(javac RMIServer.java), i get the following msg:

Note: RMIServer.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

what does this mean and how do i fix it? any help appreciated please...
 
D

Daniel Dyer

im pretty new to rmi and im trying to get basic rmi client-callback
program running on windows xp. But wen i try to compile on of the files
in the dos window(javac RMIServer.java), i get the following msg:

Note: RMIServer.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

what does this mean and how do i fix it? any help appreciated please...

Did you recompile with -Xlint:deprecation for details?

Basically, your code is using methods or classes that have been
obsoleted. If you recompile with the suggested switch it will tell you
which ones. Your may well still work without addressing these issues, but
typically it's a warning that there's a newer, better way to do something.

Dan.
 
B

Bruce Lee

im pretty new to rmi and im trying to get basic rmi client-callback
program running on windows xp. But wen i try to compile on of the files
in the dos window(javac RMIServer.java), i get the following msg:

Note: RMIServer.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

what does this mean and how do i fix it? any help appreciated please...

It's not an error, it's just telling you you've got some old objects in the
software.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,271
Latest member
BuyAtenaLabsCBD

Latest Threads

Top