It is currently Thu Feb 22, 2018 9:23 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
Offline
 Post subject: java security error
Post #1 Posted: Sat Feb 03, 2018 3:28 pm 
Dies in gote

Posts: 20
Liked others: 0
Was liked: 0
Rank: AGA 1 dan
KGS: drgoplayer
getting java error on Ubuntu
java.lang.SecurityException: Can not verify security pack jar

ideas?

Top
 Profile  
 
Offline
 Post subject: Re: java security error
Post #2 Posted: Sat Feb 03, 2018 4:03 pm 
Oza
User avatar

Posts: 2402
Liked others: 1186
Was liked: 1068
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...

_________________
These moves are not part of a regular dan repertoire... - Knotwilg

Top
 Profile  
 
Offline
 Post subject: Re: java security error
Post #3 Posted: Sat Feb 03, 2018 6:22 pm 
Lives in gote
User avatar

Posts: 392
Liked others: 23
Was liked: 43
Rank: NR
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

Top
 Profile  
 
Offline
 Post subject: Re: java security error
Post #4 Posted: Sat Feb 03, 2018 8:21 pm 
Judan

Posts: 7713
Liked others: 1389
Was liked: 1201
KGS: Kirby
Tygem: 커비라고해
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:
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.

_________________
Focus on improving yourself rather than trying to improve others.

Top
 Profile  
 
Offline
 Post subject: Re: java security error
Post #5 Posted: Mon Feb 05, 2018 3:01 pm 
Oza
User avatar

Posts: 2755
Location: Seattle, WA
Liked others: 249
Was liked: 545
KGS: oren
Tygem: oren740, orenl
IGS: oren
Wbaduk: 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.

Top
 Profile  
 
Offline
 Post subject: Re: java security error
Post #6 Posted: Tue Feb 06, 2018 10:38 am 
Dies in gote

Posts: 30
Liked others: 1
Was liked: 3
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?

Top
 Profile  
 
Offline
 Post subject: Re: java security error
Post #7 Posted: Tue Feb 06, 2018 10:40 am 
Dies in gote

Posts: 30
Liked others: 1
Was liked: 3
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.)

Top
 Profile  
 
Offline
 Post subject: Re: java security error
Post #8 Posted: Wed Feb 07, 2018 12:34 pm 
Oza
User avatar

Posts: 2755
Location: Seattle, WA
Liked others: 249
Was liked: 545
KGS: oren
Tygem: oren740, orenl
IGS: oren
Wbaduk: 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.

Top
 Profile  
 
Offline
 Post subject: Re: java security error
Post #9 Posted: Thu Feb 08, 2018 12:29 pm 
Dies in gote

Posts: 30
Liked others: 1
Was liked: 3
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 https://lifein19x19.com/forum/viewtopic.php?f=24&t=9213&start=42

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group