Menu

Deprecated Libraries

2006-01-23
2013-04-09
  • Nobody/Anonymous

    HI!! i'm trying to compile the source on NetBeans IDE 4.1 using Java SDK 1.4.2 and i'm getting this error:

    symbol  : method getHome ()
    location: class net.jxta.ext.config.Configurator
                    File file = new File(c.getHome()+"/PlatformConfig");

    symbol  : method setHome (java.io.File)
    location: class net.jxta.ext.config.Configurator
            Configurator.setHome(FS.getHome());

    At JxtaConfigurator.java. I googled the library net.jxta.ext.config.Configurator and the methods getHome() and setHome() have been DEPRECATED!!! How can i solve this problem?? I'll aprreciate a brief answer about this!! :)

     
    • Nobody/Anonymous

      By the way i'm using latest version of Jxta..

       
      • Alexander Sack

        Alexander Sack - 2006-01-23

        the released sources do only work with the libraries provided with that release.

        Anyway, the HEAD is currently usable (to a certain degree) ... so maybe try that. It should work with the latest libs.

        - asac

         
    • Alexander Sack

      Alexander Sack - 2006-01-23

      > HI!! i'm trying to compile the source on NetBeans
      > IDE 4.1 using Java SDK 1.4.2 and i'm getting this

      Just remembered that the cvs HEAD will only work with sdk 1.5. If that is no option for you let me know.

       
    • Luis Paniagua

      Luis Paniagua - 2008-11-26

      Hi,
      I'm trying to compile the jxtaim and throws me the following error:

      symbol  : method getJXTAHome()
      location: class net.jxta.ext.config.Configurator
                                      System.out.println("JXTAHOME=" + pc.getJXTAHome());

      symbol  : method getJXTAHome()
      location: class net.jxta.ext.config.Configurator
                                      new File(pc.getJXTAHome()).mkdir();

      symbol  : method getJXTAHome()
      location: class net.jxta.ext.config.Configurator
                                      log.info("writing platform config to '" + pc.getJXTAHome()

      symbol  : method getHome()
      location: class net.jxta.ext.config.Configurator
                                      File file = new File(c.getHome() + "/PlatformConfig");

      which is the same as the previous.

      Using JDK 1.6, and JXTA-JXSE 2.5, on Netbeans 6.1 .

       
      • Alexander Sack

        Alexander Sack - 2008-11-27

        i think all but the latest JXTA release should work. Have you tried to use the jxta release included in CVS Head? (are you trying to build CVS head at all)?

         
      • Alexander Sack

        Alexander Sack - 2008-11-28

        Hi, in an effort I upgraded CVS head to latest jxta release (2.5). just get the CVS and it should work.

        The configuration stuff needed a more or less big refactoring, but given that 2.5 has much better API for configuration, I hope this was worth it.

        Note, that saving settings in the preference dialog has currently a glitch that prevents those settings from properly being read on next startup. So edit the src/conf/DefaultConfiguration.xml manually for now to get that setup.

         

Log in to post a comment.

MongoDB Logo MongoDB