OSX java snafu

All non-Go discussions should go here.
Post Reply
Bill Spight
Honinbo
Posts: 10905
Joined: Wed Apr 21, 2010 1:24 pm
Has thanked: 3651 times
Been thanked: 3373 times

OSX java snafu

Post by Bill Spight »

Hi, if anyone can help me I would appreciate it. :)

Not long ago I upgraded my MacBook Pro to High Sierra. One thing that happened is that GoWrite ceased to work. Apparently it needs a special Java 6 version supplied by Apple to work. So I installed that. As a result, GoWrite works fine, but other Java programs don't work. I suppose that there are workarounds, but Sun and Apple don't seem to play well together.

Thanks.
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.
jeromie
Lives in sente
Posts: 902
Joined: Fri Jan 31, 2014 7:12 pm
Rank: AGA 3k
GD Posts: 0
Universal go server handle: jeromie
Location: Fort Collins, CO
Has thanked: 319 times
Been thanked: 287 times

Re: OSX java snafu

Post by jeromie »

There are some tools that allow you to install multiple versions of Java on an OS X machine. I haven't used a Mac as my primary computer in quite a while so I'm not super well versed in which one is easiest, but the answer at this post that mentions Homebrew and jenv looks promising. There are additional links in that post that walk through the installation process step-by-step, but it does demand some level of comfort with the command line.
Bill Spight
Honinbo
Posts: 10905
Joined: Wed Apr 21, 2010 1:24 pm
Has thanked: 3651 times
Been thanked: 3373 times

Re: OSX java snafu

Post by Bill Spight »

jeromie wrote:There are some tools that allow you to install multiple versions of Java on an OS X machine. I haven't used a Mac as my primary computer in quite a while so I'm not super well versed in which one is easiest, but the answer at this post that mentions Homebrew and jenv looks promising. There are additional links in that post that walk through the installation process step-by-step, but it does demand some level of comfort with the command line.
Thanks muchly. Command line OK, Unix, quien sabe?
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.
Gomoto
Gosei
Posts: 1733
Joined: Sun Nov 06, 2016 6:56 am
GD Posts: 0
Location: Earth
Has thanked: 621 times
Been thanked: 310 times

Re: OSX java snafu

Post by Gomoto »

Dont tell me: Other java programms = Lizzie? ;-) :lol:
Calvin Clark
Lives in gote
Posts: 426
Joined: Thu Aug 13, 2015 8:43 am
GD Posts: 0
Has thanked: 186 times
Been thanked: 191 times

no

Post by Calvin Clark »

This script seems to work for me, with Java 8, because I'm a rogue who doesn't always believe people who test versions in their apps and say 'no later than this.'

#!/bin/sh
JAVAROOT=/Applications/GOWrite.app/Contents/Resources/Java
java -classpath "$JAVAROOT/GOWrite.jar:$JAVAROOT/GOWriteStd.jar:$JAVAROOT/h2.jar;$JAVAROOT/jh.jar:$JAVAROOT/swing-layout-1.0.3.jar:$JAVAROOT/GOWriteHelp.jar:$JAVAROOT/GOWriteHelp_ja.jar" GOWrite2
Bill Spight
Honinbo
Posts: 10905
Joined: Wed Apr 21, 2010 1:24 pm
Has thanked: 3651 times
Been thanked: 3373 times

Re: no

Post by Bill Spight »

Calvin Clark wrote:This script seems to work for me, with Java 8, because I'm a rogue who doesn't always believe people who test versions in their apps and say 'no later than this.'

#!/bin/sh
JAVAROOT=/Applications/GOWrite.app/Contents/Resources/Java
java -classpath "$JAVAROOT/GOWrite.jar:$JAVAROOT/GOWriteStd.jar:$JAVAROOT/h2.jar;$JAVAROOT/jh.jar:$JAVAROOT/swing-layout-1.0.3.jar:$JAVAROOT/GOWriteHelp.jar:$JAVAROOT/GOWriteHelp_ja.jar" GOWrite2
Thanks, Calvin. :)

I'll give her a try.
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.
Post Reply