Jump to content
Sign in to follow this  
kez

Java-error Api

Recommended Posts

asalamualaikum...

just nak tau ape maksud error ni..

Note: clock.java uses or overrides a deprecated API.

Note: Recompile with -deprecation for details.

error time javac..tp bila dah run mmg boleh...

mungkin simple je error ni tp saya newbie lg...

Share this post


Link to post
Share on other sites

asalamualaikum...

just nak tau ape maksud error ni..

Note: clock.java uses or overrides a deprecated API.

Note: Recompile with -deprecation for details.

error time javac..tp bila dah run mmg boleh...

mungkin simple je error ni tp saya newbie lg...

ini bermakna bahan yang kau gunakan dah "basi" atau "lapuk". Aku tak berapa pasti apa kena buat. Aku Google dan jumpa caranya:

"Add the -deprecation option to the java command, as instructed, and recompile. You are using something that has beed obsoleted. The messages from the compile will give the details, then you refer to the appropriate class documentation for what you should use as a replacement." - Java Forums cool.gif

Share this post


Link to post
Share on other sites

Note: clock.java uses or overrides a deprecated API.

Note: Recompile with -deprecation for details.

Ko bio je, ini bukan error, tapi warning. Dlm apa2 language pung, warning biasanya x jejaskan execution, cuma x elok shj. Boleh dikatakan sunat muakad saje ko betulkan error tu, x wajib. Tapi kalu jejaskn execution, terpaksala selesaikan.

Cuba cari dlm java documentation dlm API ada x method yg baru utk ganti yg dah basi tu...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...