deprecation is a warning not an error
|
Hey guys,
Trying to get back into java programming and want to setup a server for myself and housemates to play over LAN. I have setup the Source, Client and Cache.
However the client is producing 1174 errors due Java Applets and AWT being deprecated.
I'm using the "Clean 508 Server/Client RS2HD Release" posted by "MATRIXFTW". (Not going to link it in case linking other websites is against the rules)
Anyone know how I could resolve this issue?
Thanks in advance!
1174 errors are they all similar looking or what because that's a lot and most of them are probably just the compiler throwing a hissy fit about using packages incorrectly or something
Was going to suggest this but don't think it will make a difference because as Luke points out deprecation won't throw an error, just warn the user. Plus the deprecated features are probably just placeholders now for the new methods anyway. I checked and awt isn't removed from any version past 8 so shouldn't be an issue.
Cheers for the replies guys, I massively appreciate it!
I'll try using jdk 8 and update you on the outcome.
As for the errors, here's a couple of images of them if it'll help. Also showing the imports.
Last edited by omgzzz; 09-02-2020 at 06:09 PM. Reason: Wrong image links
Okay so I was pretty baked when I set it all up, I ended up just deleting it all and restarting the project, but made sure I used JDK8 this time.
I'm down to 10 errors now, which is amazing.
Thanks guys!!
Great feel free to post the rest of the errors if you can't figure it out.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
Tags for this Thread |