Results 1 to 3 of 3
  1. #1
    guest_user is offline Member
    Join Date
    May 2011
    Posts
    47
    Rep Power
    0

    Default how can I remove this warning?

    warning: com.sun.jndi.ldap.BerDecoder is Sun proprietary API and may be removed in a future release import com.sun.jndi.ldap.BerDecoder;

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default

    You can't.
    Well, without using a different class anyway.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,457
    Rep Power
    20

    Default

    Windows:
    Java Code:
    javac YourClass.java > nul
    *n[iu]x:
    Java Code:
    javac YourClass.java > /dev/null

Similar Threads

  1. Conversion Warning
    By kishan in forum Advanced Java
    Replies: 6
    Last Post: 10-10-2009, 02:52 PM
  2. Giving Warning
    By tanmoy.b81 in forum New To Java
    Replies: 1
    Last Post: 12-24-2008, 10:21 AM
  3. Java Security Warning
    By Neil in forum New To Java
    Replies: 3
    Last Post: 09-01-2008, 05:15 PM
  4. warning: page has expired
    By Peter in forum Web Frameworks
    Replies: 2
    Last Post: 07-04-2007, 08:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •