[jitsi-dev] Building jitsi


#1

Hi
I just tried to build jitsi following these instructions (https://desktop.jitsi.org/Documentation/DeveloperDocumentation#toc1) and I am getting some errors. This is the first one.

    [javac] /somewhereonamac/jitsi/src/net/java/sip/communicator/util/JitsiDnsNameService.java:35: error: cannot find symbol

    [javac] implements NameService

    [javac] ^

    [javac] symbol: class NameService

    [javac] /somewhereonamac/jitsi/src/net/java/sip/communicator/util/JitsiDnsNameService.java:25: error: package sun.net.spi.nameservice does not exist

Some additional errors further down like
jitsi/src/net/java/sip/communicator/impl/gui/main/contactlist/GroupNode.java:299: error: no suitable method found for binarySearch(Vector<TreeNode>,GroupNode,NodeComparator)
    [javac] int insertionPoint = Collections.binarySearch(children,

but this may be a downstream error.

I am also getting a bunch of warnings about Integer(int) being deprecated.

Without going into all the errors - should this not build on a mac (High Sierra) just fine? Pulled the latest JDK and ANT. What did I miss?

Thanks!


#2

You need a JDK 8. Jitsi doesn't compile on JDK 9 yet.

Ingo

Freundliche Grüsse,
Ingo Bauersachs

-- sent from my mobile

···

On 2 Nov 2017, at 05:23, Joseph Ngari <josephngari@hotmail.com> wrote:

Hi
I just tried to build jitsi following these instructions (https://desktop.jitsi.org/Documentation/DeveloperDocumentation#toc1) and I am getting some errors. This is the first one.

    [javac] /somewhereonamac/jitsi/src/net/java/sip/communicator/util/JitsiDnsNameService.java:35: error: cannot find symbol
    [javac] implements NameService
    [javac] ^
    [javac] symbol: class NameService
    [javac] /somewhereonamac/jitsi/src/net/java/sip/communicator/util/JitsiDnsNameService.java:25: error: package sun.net.spi.nameservice does not exist

Some additional errors further down like
jitsi/src/net/java/sip/communicator/impl/gui/main/contactlist/GroupNode.java:299: error: no suitable method found for binarySearch(Vector<TreeNode>,GroupNode,NodeComparator)
    [javac] int insertionPoint = Collections.binarySearch(children,

but this may be a downstream error.

I am also getting a bunch of warnings about Integer(int) being deprecated.

Without going into all the errors - should this not build on a mac (High Sierra) just fine? Pulled the latest JDK and ANT. What did I miss?

Thanks!
_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#3

I dont think I saw a response to this. Any help?

Ultimately what i'd like is a clear "getting started with deploying your own jitsi server and clients guide". Does anything like this exist?

···

________________________________
From: Joseph Ngari
Sent: Wednesday, November 1, 2017 9:22 PM
To: dev@jitsi.org
Subject: Building jitsi

Hi
I just tried to build jitsi following these instructions (https://desktop.jitsi.org/Documentation/DeveloperDocumentation#toc1) and I am getting some errors. This is the first one.

    [javac] /somewhereonamac/jitsi/src/net/java/sip/communicator/util/JitsiDnsNameService.java:35: error: cannot find symbol

    [javac] implements NameService

    [javac] ^

    [javac] symbol: class NameService

    [javac] /somewhereonamac/jitsi/src/net/java/sip/communicator/util/JitsiDnsNameService.java:25: error: package sun.net.spi.nameservice does not exist

Some additional errors further down like
jitsi/src/net/java/sip/communicator/impl/gui/main/contactlist/GroupNode.java:299: error: no suitable method found for binarySearch(Vector<TreeNode>,GroupNode,NodeComparator)
    [javac] int insertionPoint = Collections.binarySearch(children,

but this may be a downstream error.

I am also getting a bunch of warnings about Integer(int) being deprecated.

Without going into all the errors - should this not build on a mac (High Sierra) just fine? Pulled the latest JDK and ANT. What did I miss?

Thanks!