java security error

Comments, questions, rants, etc, that are specifically about KGS go here.
Post Reply
drgoplayer
Dies in gote
Posts: 21
Joined: Fri Oct 22, 2010 5:37 pm
Rank: AGA 1 dan
GD Posts: 0
KGS: drgoplayer

java security error

Post by drgoplayer »

getting java error on Ubuntu
java.lang.SecurityException: Can not verify security pack jar

ideas?
User avatar
daal
Oza
Posts: 2508
Joined: Wed Apr 21, 2010 1:30 am
GD Posts: 0
Has thanked: 1304 times
Been thanked: 1128 times

Re: java security error

Post 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...
Patience, grasshopper.
User avatar
djhbrown
Lives in gote
Posts: 392
Joined: Tue Sep 15, 2015 5:00 pm
Rank: NR
GD Posts: 0
Has thanked: 23 times
Been thanked: 43 times

Re: java security error

Post 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..."
i shrink, therefore i swarm
Kirby
Honinbo
Posts: 9553
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: java security error

Post 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.
be immersed
User avatar
oren
Oza
Posts: 2777
Joined: Sun Apr 18, 2010 5:54 pm
GD Posts: 0
KGS: oren
Tygem: oren740, orenl
IGS: oren
Wbaduk: oren
Location: Seattle, WA
Has thanked: 251 times
Been thanked: 549 times

Re: java security error

Post 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.
Marathon
Dies with sente
Posts: 78
Joined: Sun Mar 03, 2013 1:25 pm
GD Posts: 0
Has thanked: 16 times
Been thanked: 21 times

Re: java security error

Post 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?
Marathon
Dies with sente
Posts: 78
Joined: Sun Mar 03, 2013 1:25 pm
GD Posts: 0
Has thanked: 16 times
Been thanked: 21 times

Re: java security error

Post 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.)
User avatar
oren
Oza
Posts: 2777
Joined: Sun Apr 18, 2010 5:54 pm
GD Posts: 0
KGS: oren
Tygem: oren740, orenl
IGS: oren
Wbaduk: oren
Location: Seattle, WA
Has thanked: 251 times
Been thanked: 549 times

Re: java security error

Post 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.
Marathon
Dies with sente
Posts: 78
Joined: Sun Mar 03, 2013 1:25 pm
GD Posts: 0
Has thanked: 16 times
Been thanked: 21 times

Re: java security error

Post 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
brzyzsbilevski84
Beginner
Posts: 1
Joined: Fri Apr 06, 2018 2:23 am
GD Posts: 0

Re: java security error

Post 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
Post Reply