Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
02-04-2012, 06:32 PM #1
- Join Date
- Jan 2012
- Thanked 0 Times in 0 Posts
Fatal exception occurred. Program will exit.
I tried for my first time to create a jar file out of a program that I created in JCreator LE. I looked up tutorials online on how to do this, and I created the .jar, and edited the file in Meta-Inf as was on the video. I go to run it and I get this error. When I build and run in JCreator I get only this error:
Note: C:\Users\Matthew\Documents\JCreator LE\MyProjects\Gomoku\classes\Gomoku.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
02-05-2012, 04:16 PM #2
- Join Date
- Sep 2002
- Saskatoon, Saskatchewan
- Thanked 2,662 Times in 2,631 Posts
The error indicates you are relying on deprecated functionality from either a class or a method no longer supported. It should still work, but any time in the future it may be removed from the Java API and will fail to work from that point forward.
Execute the javac with -deprecation and it should tell you what in particular is causing this. Looks to me that Gomoku may override a deprecated class.
Then go to the API for that class or method, and see what they suggest should be used instead.