It is currently Thu Mar 28, 2024 4:37 pm

All times are UTC - 8 hours [ DST ]




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

Posts: 21
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: 2508
Liked others: 1304
Was liked: 1128
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.

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 
Honinbo

Posts: 9545
Liked others: 1600
Was liked: 1711
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.

_________________
be immersed

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

Posts: 2777
Location: Seattle, WA
Liked others: 251
Was liked: 549
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 with sente

Posts: 75
Liked others: 14
Was liked: 20
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 with sente

Posts: 75
Liked others: 14
Was liked: 20
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: 2777
Location: Seattle, WA
Liked others: 251
Was liked: 549
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 with sente

Posts: 75
Liked others: 14
Was liked: 20
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  
 
Offline
 Post subject: Re: java security error
Post #10 Posted: Fri Apr 06, 2018 2:59 am 
Beginner

Posts: 1
Liked others: 0
Was liked: 0
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

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

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group