This discussion is archived
1 Reply Latest reply: Oct 4, 2009 11:33 PM by 843810 RSS

recompile with -xlint.....help please

843810 Newbie
Currently Being Moderated
ok so when i run my build (thats all that it says btw) i get this pretty little thing

note:some input files use unchecked or unsafe operations
note:recompile with -xlint:unchecked for details

ive done my fair share of looking into this to fix but i cant seem to get by it..
for the main reason im trying to make a rsps (runescape private server)
and when people give codes to fix...i cant use them because when i go to edit my "build"
this is all that is there

@echo off
"C:\Program Files\Java\jdk1.6.0_16\bin\javac.exe" ./files/*.java
pause

so yeah....
anyone lend a helping hand?
  • 1. Re: recompile with -xlint.....help please
    843810 Newbie
    Currently Being Moderated
    tututums wrote:
    note:some input files use unchecked or unsafe operations
    note:recompile with -xlint:unchecked for details
    @echo off
    "C:\Program Files\Java\jdk1.6.0_16\bin\javac.exe" ./files/*.java
    pause
    anyone lend a helping hand?
    The compiler is telling you that
    if you want to know more about these unchecked or unsafe operations the compiler found in some input (java source) files
    you should specify the -Xlint:unchecked option (or just -Xlint) when compiling.
    Try one of
    javac -Xlint:unchecked ./files/*.java
    javac -Xlint ./files/*.java
    Note that this will make the compiler give you lots more messages
    so you can review these unchecked or unsafe operations the compiler found
    and evaluate if they merit code change or if they are harmless (as in without side effects).