Re: Possible to install jEdit on a new Mac?
Vampire <[email protected]> Fri, 17 Nov 2023 04:12:44 +0100
| Newsgroups | gmane.editors.jedit.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============3044637923794687247== Content-Type: multipart/alternative; boundary="------------040805060300030506030803" This is a multi-part message in MIME format. --------------040805060300030506030803 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Hi Gregory, I was about to release 5.7.0 and there also updated the macOS app bundler. Maybe you could quickly try https://www.swisstransfer.com/d/b8bcf63b-b3d3-403c-a0ea-fd3adb6d83bd ? Actually, I don't think it changes much in what Java is discovered, from what I have seen in the changes, but who knows. If you are able to read C code, you could maybe see from https://github.com/evolvedbinary/appbundler/blob/main/appbundler/native/main.m where Java runtimes are searched for. From a very cursory look, I'd say it first searches for `/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java` and then uses `/usr/libexec/java_home` to find a matching JVM. If neither brings a result, it fails. Besides that Oracle Java is anyway questionable to be used since they changed their licensing. So maybe you also try with Temurin as Bobb suggested. Cheers Björn Am 07.11.2023 18:07, schrieb Gregory Garretson: > Hi Jack, > > Thanks, but I'm afraid it doesn't seem to. I've installed both the JRE and the JDK, but jEdit still tells me to install Java 11 or later, even though I get this: > > java --version > > java 21.0.1 2023-10-17 LTS > > Java(TM) SE Runtime Environment (build 21.0.1+12-LTS-29) > > Java HotSpot(TM) 64-Bit Server VM (build 21.0.1+12-LTS-29, mixed mode, sharing) > > > Any more thoughts? > > Thanks, > Gregory > > >> On Nov 7, 2023, at 4:56 PM, Jack W. <[email protected]> wrote: >> >> Does this help? https://docs.oracle.com/en/java/javase/11/install/installation-jdk-macos.html >> >> On Tue, Nov 7, 2023 at 9:35 AM Gregory Garretson <[email protected] <mailto:[email protected]>> wrote: >> >> Now I have a MacBook with an M3 Apple Silicon processor. >> >> My problem is that while jEdit 5.6 successfully installs on the machine, it doesn't detect Java. It looks for Java 11, >> >> >> -- >> Jack Woehr # If it doesn't work in Firefox, >> Box 82, Beulah CO 81023 # it's broken. >> http://www.softwoehr.com <http://www.softwoehr.com/> # Just Say No to Chrome. > > > > > --------------040805060300030506030803 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#FFFFFF"> <div text="#000000" bgcolor="#FFFFFF">Hi Gregory,</div> <div text="#000000" bgcolor="#FFFFFF"><br> </div> <div text="#000000" bgcolor="#FFFFFF">I was about to release 5.7.0 and there also updated the macOS app bundler.</div> <div text="#000000" bgcolor="#FFFFFF">Maybe you could quickly try <a href="https://www.swisstransfer.com/d/b8bcf63b-b3d3-403c-a0ea-fd3adb6d83bd">https://www.swisstransfer.com/d/b8bcf63b-b3d3-403c-a0ea-fd3adb6d83bd</a> ?<br> Actually, I don't think it changes much in what Java is discovered, from what I have seen in the changes, but who knows.</div> <div text="#000000" bgcolor="#FFFFFF"><br> </div> <div text="#000000" bgcolor="#FFFFFF">If you are able to read C code, you could maybe see from <a href="https://github.com/evolvedbinary/appbundler/blob/main/appbundler/native/main.m">https://github.com/evolvedbinary/appbundler/blob/main/appbundler/native/main.m</a> where Java runtimes are searched for.</div> <div text="#000000" bgcolor="#FFFFFF">From a very cursory look, I'd say it first searches for `/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java`</div> <div text="#000000" bgcolor="#FFFFFF">and then uses `/usr/libexec/java_home` to find a matching JVM.</div> <div text="#000000" bgcolor="#FFFFFF"><br> </div> <div text="#000000" bgcolor="#FFFFFF">If neither brings a result, it fails.</div> <div text="#000000" bgcolor="#FFFFFF"><br> </div> <div text="#000000" bgcolor="#FFFFFF">Besides that Oracle Java is anyway questionable to be used since they changed their licensing.</div> <div text="#000000" bgcolor="#FFFFFF">So maybe you also try with Temurin as Bobb suggested.</div> <div text="#000000" bgcolor="#FFFFFF"><br> </div> <div text="#000000" bgcolor="#FFFFFF">Cheers</div> <div text="#000000" bgcolor="#FFFFFF">Björn</div> <br> <div class="moz-cite-prefix">Am 07.11.2023 18:07, schrieb Gregory Garretson:<br> </div> <blockquote cite="mid:[email protected]" type="cite"> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> Hi Jack, <div><br> </div> <div>Thanks, but I’m afraid it doesn’t seem to. I’ve installed both the JRE and the JDK, but jEdit still tells me to install Java 11 or later, even though I get this:</div> <div><br> </div> <div> <p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures">java --version</span></p> <p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures">java 21.0.1 2023-10-17 LTS</span></p> <p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures">Java(TM) SE Runtime Environment (build 21.0.1+12-LTS-29)</span></p> <p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures">Java HotSpot(TM) 64-Bit Server VM (build 21.0.1+12-LTS-29, mixed mode, sharing)</span></p> </div> <div><span style="font-variant-ligatures: no-common-ligatures"><br> </span></div> <div><span style="font-variant-ligatures: no-common-ligatures">Any more thoughts?</span></div> <div><span style="font-variant-ligatures: no-common-ligatures"><br> </span></div> <div><span style="font-variant-ligatures: no-common-ligatures">Thanks,</span></div> <div>Gregory</div> <div><span style="font-variant-ligatures: no-common-ligatures"><br> </span></div> <div><br> <blockquote type="cite"> <div>On Nov 7, 2023, at 4:56 PM, Jack W. <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a> wrote:</div> <br class="Apple-interchange-newline"> <div> <div dir="ltr"> <div dir="ltr">Does this help? <a moz-do-not-send="true" href="https://docs.oracle.com/en/java/javase/11/install/installation-jdk-macos.html">https://docs.oracle.com/en/java/javase/11/install/installation-jdk-macos.html</a></div> <br> <div class="gmail_quote"> <div dir="ltr" class="gmail_attr">On Tue, Nov 7, 2023 at 9:35 AM Gregory Garretson <<a moz-do-not-send="true" href="mailto:[email protected]">[email protected]</a>> wrote:<br> </div> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Now I have a MacBook with an M3 Apple Silicon processor. <br> <br> My problem is that while jEdit 5.6 successfully installs on the machine, it doesn’t detect Java. It looks for Java 11,</blockquote> </div> <br> <span class="gmail_signature_prefix">-- </span><br> <div dir="ltr" class="gmail_signature"> <div dir="ltr"> <div> <div dir="ltr"> <div> <div dir="ltr"> <div> <div dir="ltr"> <div> <div dir="ltr"> <div> <div dir="ltr"> <div style="text-align:left"> <div dir="ltr"> <div> <div dir="ltr"> <div> <div dir="ltr"><span style="font-family:monospace">Jack Woehr # If it doesn't work in Firefox,<br> Box 82, Beulah CO 81023 # it's broken.<br> <a moz-do-not-send="true" href="http://www.softwoehr.com/" target="_blank">http://www.softwoehr.com</a> # Just Say No to Chrome.</span><br> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </blockquote> </div> <br> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> </blockquote> <br> </body> </html> --------------040805060300030506030803-- --===============3044637923794687247== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============3044637923794687247== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ----------------------------------------------- jEdit Users' List [email protected] https://lists.sourceforge.net/lists/listinfo/jedit-users --===============3044637923794687247==--