Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latest binary version does not connect to server #112

Closed
freddii opened this issue May 5, 2019 · 7 comments
Closed

latest binary version does not connect to server #112

freddii opened this issue May 5, 2019 · 7 comments
Assignees
Labels

Comments

@freddii
Copy link

freddii commented May 5, 2019

Kontalk Desktop version: 3.1.2
Operating System: Debian Linux
Desktop Environment: xfce

Latest release https://github.com/kontalk/desktopclient-java/releases/download/v3.1.2/KontalkDesktop-3.1.2.zip does not connect to server.

@daniele-athome daniele-athome self-assigned this May 5, 2019
@daniele-athome
Copy link
Member

Thanks for reporting. I've just tried 3.1.2 and it's connecting successfully. Would you mind sending me a log to the devteam address please?

@freddii
Copy link
Author

freddii commented May 6, 2019

Sent the log to devteam.
The only solution right now is to compile it myself like below:

mkdir -p /home/$USER/programs_setup/kontalk_setup
cd  /home/$USER/programs_setup/kontalk_setup
git clone https://github.com/kontalk/desktopclient-java.git
cd /home/$USER/programs_setup/kontalk_setup/desktopclient-java
git submodule update --init
cd /home/$USER/programs_setup/kontalk_setup/desktopclient-java && ./gradlew -Dorg.gradle.java.home=/usr/lib/jvm/java-8-openjdk-amd64/ run

@daniele-athome
Copy link
Member

I saw the log, thanks. I see you ran a plain "java" command, what is the JDK you were using for that?

@freddii
Copy link
Author

freddii commented May 8, 2019

$ java -version
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment (build 11.0.2+9-Ubuntu-3ubuntu118.04.3)
OpenJDK 64-Bit Server VM (build 11.0.2+9-Ubuntu-3ubuntu118.04.3, mixed mode, sharing)

@daniele-athome
Copy link
Member

Can you try with Java 8 please? I see you use it when you manually build the app.

@freddii
Copy link
Author

freddii commented May 8, 2019

yes that was causing the problem.

running it with java 8 instead of my system default java 11 works.

/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -jar /home/$USER/programs_setup/kontalk_setup/KontalkDesktop-3.1.2/KontalkDesktopApp.jar

@daniele-athome
Copy link
Member

Good! I've opened #113 for supporting latest Java.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants