Re: Java program question

2019-02-20 Thread Z Ero
Thanks a bunch...as I mentioned I never run java anymore...

On 2/20/19, Karel Gardas  wrote:
> pkg_info -Q jdk
>
> Then pkg_add 
>
> Then go to shell and do:
>
> export JAVA_HOME=/usr/local/jdk-1.8.0
>
> export PATH=$PATH:$JAVA_HOME/bin
>
> since now, you should have sane VM executable by "java"
>
> So java -jar 
>
> May do the play...
>
> On 2/20/19 8:38 PM, Z Ero wrote:
>> Hello,
>>
>> I am trying to run the stand alone Java program cgoban.jar found at
>> https://www.gokgs.com/ for playing the board game "Go."
>>
>> I very rarely run Java programs these days.
>>
>> OpenBSD only seems to offer jamvm for a virtual machine and for
>> whatever reason that does not work with this program.
>>
>> This is not a browser applet but a program you download and use
>> outside a browser by running on a Java VM to connect to their servers.
>> They used to offer a browser applet many years ago but now just offer
>> the stand alone program.
>>
>> Any suggestions?
>>
>> Thanks...
>
>



Re: Java program question

2019-02-20 Thread Karel Gardas

pkg_info -Q jdk

Then pkg_add 

Then go to shell and do:

export JAVA_HOME=/usr/local/jdk-1.8.0

export PATH=$PATH:$JAVA_HOME/bin

since now, you should have sane VM executable by "java"

So java -jar 

May do the play...

On 2/20/19 8:38 PM, Z Ero wrote:

Hello,

I am trying to run the stand alone Java program cgoban.jar found at
https://www.gokgs.com/ for playing the board game "Go."

I very rarely run Java programs these days.

OpenBSD only seems to offer jamvm for a virtual machine and for
whatever reason that does not work with this program.

This is not a browser applet but a program you download and use
outside a browser by running on a Java VM to connect to their servers.
They used to offer a browser applet many years ago but now just offer
the stand alone program.

Any suggestions?

Thanks...




Java program question

2019-02-20 Thread Z Ero
Hello,

I am trying to run the stand alone Java program cgoban.jar found at
https://www.gokgs.com/ for playing the board game "Go."

I very rarely run Java programs these days.

OpenBSD only seems to offer jamvm for a virtual machine and for
whatever reason that does not work with this program.

This is not a browser applet but a program you download and use
outside a browser by running on a Java VM to connect to their servers.
They used to offer a browser applet many years ago but now just offer
the stand alone program.

Any suggestions?

Thanks...
Exception during event dispatch:
java.lang.NoClassDefFoundError: org/igoweb/cgoban/MainWindow$7$1
   at org.igoweb.cgoban.MainWindow$7.actionPerformed(MainWindow.java:222)
   at org.igoweb.igoweb.client.swing.LoginPanel.login(LoginPanel.java:166)
   at org.igoweb.igoweb.client.swing.LoginPanel.okPressed(LoginPanel.java:145)
   at org.igoweb.igoweb.client.swing.LoginPanel.access$200(LoginPanel.java:39)
   at 
org.igoweb.igoweb.client.swing.LoginPanel$2.actionPerformed(LoginPanel.java:110)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1257)
   at 
javax.swing.AbstractButton$EventHandler.actionPerformed(AbstractButton.java:206)
   at 
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:298)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:403)
   at 
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:323)
   at java.awt.Component.processMouseEvent(Component.java:3833)
   at java.awt.Component.processEvent(Component.java:3692)
   at java.awt.Container.processEvent(Container.java:1030)
   at java.awt.Component.dispatchEventImpl(Component.java:5739)
   at java.awt.Container.dispatchEventImpl(Container.java:1954)
   at java.awt.Component.dispatchEvent(Component.java:2852)
   at java.awt.LightweightDispatcher.redispatch(LightweightDispatcher.java:326)
   at 
java.awt.LightweightDispatcher.handleMouseEvent(LightweightDispatcher.java:151)
   at 
java.awt.LightweightDispatcher.dispatchEvent(LightweightDispatcher.java:115)
   at java.awt.Container.dispatchEventImpl(Container.java:1943)
   at java.awt.Window.dispatchEventImpl(Window.java:618)
   at java.awt.Component.dispatchEvent(Component.java:2852)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:624)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:88)
Caused by: java.lang.NoClassDefFoundError: com/gokgs/client/swing/KGuiClient
   at java.lang.VMClassLoader.defineClass(Native Method)
   at 
java.lang.VMClassLoader.defineClassWithTransformers(VMClassLoader.java:343)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:471)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:83)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:617)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:341)
   at java.lang.ClassLoader$1.loadClass(ClassLoader.java:1112)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:293)
   at org.igoweb.cgoban.MainWindow$7.actionPerformed(MainWindow.java:222)
   ...23 more
Caused by: java.lang.ClassFormatError: bad constant pool tag
   at java.lang.VMClassLoader.defineClass(Native Method)
   at 
java.lang.VMClassLoader.defineClassWithTransformers(VMClassLoader.java:343)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:471)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:83)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:617)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:341)
   at java.lang.ClassLoader$1.loadClass(ClassLoader.java:1112)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:293)
   at java.lang.VMClassLoader.defineClass(Native Method)
   ...31 more