Page 1 of 1

java security error

Posted: Sat Feb 03, 2018 3:28 pm
by drgoplayer
getting java error on Ubuntu
java.lang.SecurityException: Can not verify security pack jar

ideas?

Re: java security error

Posted: Sat Feb 03, 2018 4:03 pm
by daal
This is only an idea, because I have no idea if it works on Ubuntu, but many cgoban problems on Windows can be fixed by opening the java control panel and deleting cgoban and forcing java to reinstall it. Maybe something similar is possible on Linux? Just an idea...

Re: java security error

Posted: Sat Feb 03, 2018 6:22 pm
by djhbrown
i remember something similar happening when i used to use Fedora+KGS a while back. i think the cause is that cgoban java security signature is unsigned. Fedora asks me: "do you want to take the risk?" and i just said "oh, what the hell, give it a Go..."

Re: java security error

Posted: Sat Feb 03, 2018 8:21 pm
by Kirby
I use Ubuntu, and instead of using the java webstart, I just made a desktop file for CGoban, using the original jar file.

Here's what my desktop file looks like:

Code: Select all

kirby@desperado:~/.local/share/applications$ cat cgoban.desktop
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=java -jar '/home/kirby/kgs/cgoban.jar'
Name=CGoban
Icon=/home/kirby/kgs/kgs.png


Just download the cgoban jar file, and make whatever icon you want for your app. I don't have any security issues using this method.

Re: java security error

Posted: Mon Feb 05, 2018 3:01 pm
by oren
The java webstart is dead. You should be using one of the windows package, mac package, or jar file on https://www.gokgs.com.

Re: java security error

Posted: Tue Feb 06, 2018 10:38 am
by Marathon
drgoplayer wrote:getting java error on Ubuntu
java.lang.SecurityException: Can not verify security pack jar

ideas?
I'm assuming you get this when you try to run the KGS client?
  • Are you using OpenJDK, or a different Java?
  • How do you attempt to run the KGS client?
    • If you use a "shortcut", what is in the "shortcut"?
    • If you use a console command, what is the command?
  • Has anything changed recently?
  • Do you have any more information with this error?

Re: java security error

Posted: Tue Feb 06, 2018 10:40 am
by Marathon
oren wrote:The java webstart is dead. You should be using one of the windows package, mac package, or jar file on https://www.gokgs.com.
Any chance of restoring clickable links within KGS without using Java Web Start?

(Note this issue also affects the ability of the KGS client to request a browser open Help Pages.)

Re: java security error

Posted: Wed Feb 07, 2018 12:34 pm
by oren
Marathon wrote:
oren wrote:The java webstart is dead. You should be using one of the windows package, mac package, or jar file on https://www.gokgs.com.
Any chance of restoring clickable links within KGS without using Java Web Start?

(Note this issue also affects the ability of the KGS client to request a browser open Help Pages.)
I have a fix for the kgs client to open web pages. This just needs to get pushed with a couple more things.

Re: java security error

Posted: Thu Feb 08, 2018 12:29 pm
by Marathon
drgoplayer wrote:getting java error on Ubuntu
java.lang.SecurityException: Can not verify security pack jar

ideas?
If you are using Java Web Start, try clearing the cache, and then re-downloading the client.
I Found an out of date help page in Sensei's Library that has a section on clearing the cache: https://senseis.xmp.net/?HelpStartingKGSClient

If that still doesn't work, you could try re-downloading and reinstalling Java.

Note: KGS does not support Java Web Start. They would rather have users download the client JAR file, and run it without Java Web Start.

There are some threads in Life in 19x19 about entering security exceptions to allow KGS to run through Java Web Start. I previously mentioned some of them in message #43 in the thread at forum/viewtopic.php?f=24&t=9213&start=42

Re: java security error

Posted: Fri Apr 06, 2018 2:59 am
by brzyzsbilevski84
Well, a quite common issue with when it comes to Ubuntu. Are you having 16 one or else? Maybe had you the local servers changed before? Nevertheless, more background required in order to give you any idea on that. Nevertheless, it happens from time to time under different circumstances. For example, I faced such an issue when had been starting learning Java and couldn't install SDK, it was Ubuntu 14.04 LTS. Later then I found this resource filled with variety of materials in order to learn java https://explainjava.com/category/java/ and here I found some prompts that had helped me. Might you look for solution here as well, it may come in use for you