[prev in list] [next in list] [prev in thread] [next in thread]
List: jedit-users
Subject: Re: [ jEdit-users ] JRELoadError launching jEdit 5.2pre1 after mavericks upgrade but no java version
From: Alan Ezust <alan.ezust () gmail ! com>
Date: 2014-09-18 18:08:51
Message-ID: CALy5K9ooNDJrYmScOkOkqLUsfyth9wgm7QEO-fEZv0q5hPjLmw () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
I haven't tried it yet, but I like what I am reading!
On Thu, Sep 18, 2014 at 8:29 AM, Steve Jakob <steve.jakob@wideskies.ca>
wrote:
> jEdit devs:
>
> I spent a bit of time the last couple of days working with Lynn Walton on
> the JRELoadError issue described on this thread. The problem is that, under
> some circumstances, the application launcher is having difficulty locating
> the JRE. I noticed that in versions 5.0 and 5.1 the jEdit install was using
> a symlink to the existing copy of Apple's JavaApplicationStub on my
> machine, whereas 5.2pre1 is bundling its own copy of JavaApplicationStub
> (renamed "jedit") which I'm assuming comes from Oracle's AppBundler project.
>
> NOTE: setting the $JAVA_HOME variable as suggested below by Darien does
> nothing as the version of JavaApplicationStub included in 5.2pre1 does not
> use it.
>
>
> I was able to walk Lynn through the process of installing this alternative
> launcher into the 5.2pre1 application bundle:
>
> https://github.com/tofi86/universalJavaApplicationStub
>
> This launcher is designed to support both the Oracle and Apple Java
> installations, and will attempt to locate the JRE in a number of locations
> (with the JAVA_HOME variable being the first place it checks). Once the new
> launcher was installed, Lynn was able to run 5.2pre1 normally.
>
That is very nice! I think we need this for jEdit's mac installer.
>
> I'd like to propose that the universalJavaApplicationStub be used for
> jEdit, rather than the existing JavaApplicationStub. I'm no lawyer, but I
> believe that the terms of the MIT license under which its released should
> be compatible with jEdit's GPL license. Being a shell script rather than a
> compiled binary it has a number of advantages including:
>
> - human-readable, so it's easier to see how it works and to debug any
> problems
> - potential for jEdit-specific customizations, including new properties in
> the Info.plist file
> - would allow users with multiple JRE instances installed to select a
> specific JRE for use with jEdit
>
> Thanks,
>
> Steve Jakob
>
>
[Attachment #5 (text/html)]
<div dir="ltr">I haven't tried it yet, but I like what I am reading! <br><div \
class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 18, 2014 at 8:29 AM, \
Steve Jakob <span dir="ltr"><<a href="mailto:steve.jakob@wideskies.ca" \
target="_blank">steve.jakob@wideskies.ca</a>></span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">jEdit \
devs:<div><br></div><div>I spent a bit of time the last couple of days working with \
Lynn Walton on the JRELoadError issue described on this thread. The problem is that, \
under some circumstances, the application launcher is having difficulty locating the \
JRE. I noticed that in versions 5.0 and 5.1 the jEdit install was using a symlink to \
the existing copy of Apple's JavaApplicationStub on my machine, whereas 5.2pre1 \
is bundling its own copy of JavaApplicationStub (renamed "jedit") which \
I'm assuming comes from Oracle's AppBundler \
project.</div><div><br></div><div>NOTE: setting the $JAVA_HOME variable as suggested \
below by Darien does nothing as the version of JavaApplicationStub included in \
5.2pre1 does not use it.</div></div></blockquote> <blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div>I was able \
to walk Lynn through the process of installing this alternative launcher into the \
5.2pre1 application bundle:</div><div><br></div><div><span \
style="white-space:pre-wrap"> </span><a \
href="https://github.com/tofi86/universalJavaApplicationStub" \
target="_blank">https://github.com/tofi86/universalJavaApplicationStub</a></div><div><br></div><div>This \
launcher is designed to support both the Oracle and Apple Java installations, and \
will attempt to locate the JRE in a number of locations (with the JAVA_HOME variable \
being the first place it checks). Once the new launcher was installed, Lynn was able \
to run 5.2pre1 normally.</div></div></blockquote><div><br></div><div>That is very \
nice! I think we need this for jEdit's mac installer.<br></div><div> \
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px \
solid rgb(204,204,204);padding-left:1ex"><div \
style="word-wrap:break-word"><div><br></div><div>I'd like to propose that the \
universalJavaApplicationStub be used for jEdit, rather than the existing \
JavaApplicationStub. I'm no lawyer, but I believe that the terms of the MIT \
license under which its released should be compatible with jEdit's GPL license. \
Being a shell script rather than a compiled binary it has a number of advantages \
including:</div><div><br></div><div>- human-readable, so it's easier to see how \
it works and to debug any problems</div><div>- potential for jEdit-specific \
customizations, including new properties in the Info.plist file</div><div>- would \
allow users with multiple JRE instances installed to select a specific JRE for use \
with jEdit</div><div><br></div><div>Thanks,</div><div><br></div><div>Steve \
Jakob</div><br></div></blockquote><div><br></div><div> <br></div></div></div></div>
------------------------------------------------------------------------------
Slashdot TV. Video for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
--
-----------------------------------------------
jEdit Users' List
jEdit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic