Re: $JAVA_HOME, 5.7 no FTB

Alan Ezust <[email protected]> Sun, 23 Mar 2025 07:28:03 -0700
Newsgroups gmane.editors.jedit.user
Message-ID <CALy5K9oiMD3M_cGZnNY_JhBdC7JXC7nQzNR0fOWhypEiooMN+g@mail.gmail.com>
--===============2348914929333550454==
Content-Type: multipart/alternative; boundary="000000000000ceca760631034d9f"

--000000000000ceca760631034d9f
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

There will be a newer release of FTP soon. The release announcement was
already made.


On Fri, Mar 21, 2025 at 9:47=E2=80=AFAM Derek Christiansen <slis.derek@gmai=
l.com>
wrote:

> I meant FTP...jedit is useless without it. I've been a jedit user for ove=
r
> 10 years and I've
> had to scuttle it and now use VS Code (after trying Kate, Cuda, Codium).
> Gedit is excellent but no code folding which is a must.
> It breaks my heart to do it because I've loved jedit. But now it freezes
> if I open too many files
> and the newest version is broken. (Dicking with Java sucks).
>
> On Fri, Mar 21, 2025 at 9:25=E2=80=AFAM Dale Anson <[email protected]> w=
rote:
>
>> No, I was talking about some tools that Ubuntu has for managing java
>> installations. This article has a pretty good description:
>> https://hostman.com/tutorials/switching-between-java-versions-on-ubuntu/
>>
>> What is FTB/SFTB?
>>
>> On Fri, Mar 21, 2025 at 9:17=E2=80=AFAM Derek Christiansen <slis.derek@g=
mail.com>
>> wrote:
>>
>>> In my jvm directory I have 'default-java' is that what you mean?
>>>
>>> On Fri, Mar 21, 2025 at 9:14=E2=80=AFAM Dale Anson <[email protected]>=
 wrote:
>>>
>>>> Do you have the Ubuntu java-common package installed? That package
>>>> provides the update-java-alternatives utility which allows you to choo=
se
>>>> and switch between installed versions of java.
>>>>
>>>> On Wed, Mar 19, 2025 at 1:52=E2=80=AFPM Derek Christiansen <
>>>> [email protected]> wrote:
>>>>
>>>>> Like others before me I had to scuttle 5.7 as SFTB doesn't work.
>>>>>
>>>>> Of note, Ubuntu syslog always throws this:
>>>>>
>>>>> 2025-03-19T13:38:29.926376-07:00 INF-DEREK-LINUX jedit.desktop[42878]=
:
>>>>>> Warning: $JAVA_HOME environment variable not set! Consider setting i=
t.
>>>>>> 2025-03-19T13:38:29.926493-07:00 INF-DEREK-LINUX
>>>>>> jedit.desktop[42878]:          Attempting to locate java...
>>>>>> 2025-03-19T13:38:29.926773-07:00 INF-DEREK-LINUX
>>>>>> jedit.desktop[42878]: Found a virtual machine at: /usr/bin/java...
>>>>>
>>>>> the one found points to the actual JRE through 2 symlinks.
>>>>>
>>>>> but BASH shows this:
>>>>>
>>>>>  $ echo $JAVA_HOME
>>>>>
>>>>> /usr/lib/jvm/java-21-openjdk-amd64/bin/java
>>>>>
>>>>>
>>>>> but activity log shows:
>>>>>
>>>>> 1:45:48=E2=80=AFPM [main] [message] Log: java.version=3D21.0.6
>>>>> 1:45:48=E2=80=AFPM [main] [message] Log:
>>>>> java.vm.version=3D21.0.6+7-Ubuntu-124.04.1
>>>>> 1:45:48=E2=80=AFPM [main] [message] Log: java.vm.name=3DOpenJDK 64-Bi=
t Server VM
>>>>> 1:45:48=E2=80=AFPM [main] [message] Log:
>>>>> java.runtime.version=3D21.0.6+7-Ubuntu-124.04.1
>>>>> 1:45:48=E2=80=AFPM [main] [message] Log: java.runtime.name=3DOpenJDK =
Runtime
>>>>> Environment
>>>>> 1:45:48=E2=80=AFPM [main] [message] Log: java.vendor=3DUbuntu
>>>>> 1:45:48=E2=80=AFPM [main] [message] Log: java.compiler=3Dnull
>>>>> 1:45:48=E2=80=AFPM [main] [message] Log: os.name=3DLinux
>>>>> 1:45:48=E2=80=AFPM [main] [message] Log: os.version=3D6.8.0-55-generi=
c
>>>>> 1:45:48=E2=80=AFPM [main] [message] Log: os.arch=3Damd64
>>>>> 1:45:48=E2=80=AFPM [main] [message] Log: user.home=3D/home/derek
>>>>> 1:45:48=E2=80=AFPM [main] [message] Log:
>>>>> java.home=3D/usr/lib/jvm/java-21-openjdk-amd64
>>>>>
>>>>> Note it truncates the location of the java executable.  This jedit 5.=
5
>>>>> but the same was true for 5.7
>>>>> --
>>>>> -----------------------------------------------
>>>>> jEdit Users' List
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/jedit-users
>>>>>
>>>> --
> -----------------------------------------------
> jEdit Users' List
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jedit-users
>

--000000000000ceca760631034d9f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>There will be a newer release of FTP soon. The releas=
e announcement was already made.</div><div><br></div></div><br><div class=
=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr=
">On Fri, Mar 21, 2025 at 9:47=E2=80=AFAM Derek Christiansen &lt;<a href=3D=
"mailto:[email protected]">[email protected]</a>&gt; wrote:<br></div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">I meant =
FTP...jedit is useless without it. I&#39;ve been a jedit user for over 10 y=
ears and I&#39;ve=C2=A0<div>had to scuttle it and now use VS Code (after tr=
ying Kate, Cuda, Codium).</div><div>Gedit is excellent but no code folding =
which is a must.</div><div>It breaks my heart to do it because I&#39;ve lov=
ed jedit. But now it freezes if I open too many files</div><div>and the new=
est version is broken. (Dicking with Java sucks).</div></div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Mar 21, 2025=
 at 9:25=E2=80=AFAM Dale Anson &lt;<a href=3D"mailto:[email protected]" ta=
rget=3D"_blank">[email protected]</a>&gt; wrote:<br></div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid r=
gb(204,204,204);padding-left:1ex"><div dir=3D"ltr">No, I was talking about =
some tools that Ubuntu has for managing java installations. This article ha=
s a pretty good description:=C2=A0<a href=3D"https://hostman.com/tutorials/=
switching-between-java-versions-on-ubuntu/" target=3D"_blank">https://hostm=
an.com/tutorials/switching-between-java-versions-on-ubuntu/</a><div><br></d=
iv><div>What is FTB/SFTB?=C2=A0</div></div><br><div class=3D"gmail_quote"><=
div dir=3D"ltr" class=3D"gmail_attr">On Fri, Mar 21, 2025 at 9:17=E2=80=AFA=
M Derek Christiansen &lt;<a href=3D"mailto:[email protected]" target=3D"=
_blank">[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"g=
mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204=
,204,204);padding-left:1ex"><div dir=3D"ltr">In my jvm directory I have &#3=
9;default-java&#39; is that what you mean?</div><br><div class=3D"gmail_quo=
te"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Mar 21, 2025 at 9:14=E2=
=80=AFAM Dale Anson &lt;<a href=3D"mailto:[email protected]" target=3D"_bl=
ank">[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,=
204);padding-left:1ex"><div dir=3D"ltr">Do you have the Ubuntu java-common =
package installed? That package provides the update-java-alternatives utili=
ty which allows you to choose and switch between installed versions of java=
.=C2=A0</div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail=
_attr">On Wed, Mar 19, 2025 at 1:52=E2=80=AFPM Derek Christiansen &lt;<a hr=
ef=3D"mailto:[email protected]" target=3D"_blank">[email protected]</=
a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0p=
x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><d=
iv dir=3D"ltr">Like others before me I had to scuttle 5.7 as SFTB doesn&#39=
;t work.<div><br></div><div>Of note, Ubuntu syslog always throws this:</div=
><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">2025-03-1=
9T13:38:29.926376-07:00 INF-DEREK-LINUX jedit.desktop[42878]: Warning: $JAV=
A_HOME environment variable not set! Consider setting it.<br>2025-03-19T13:=
38:29.926493-07:00 INF-DEREK-LINUX jedit.desktop[42878]: =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0Attempting to locate java...<br>2025-03-19T13:38:29.926773=
-07:00 INF-DEREK-LINUX jedit.desktop[42878]: Found a virtual machine at: /u=
sr/bin/java...</blockquote><div>the one found points to the actual JRE thro=
ugh 2 symlinks.=C2=A0</div><div><br></div><div>but BASH shows this:</div><d=
iv><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=C2=A0$ echo=
 $JAVA_HOME</blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">/=
usr/lib/jvm/java-21-openjdk-amd64/bin/java</blockquote><div><br></div><div>=
but activity log shows:</div><div>=C2=A0</div>1:45:48=E2=80=AFPM [main] [me=
ssage] Log: java.version=3D21.0.6<br>1:45:48=E2=80=AFPM [main] [message] Lo=
g: java.vm.version=3D21.0.6+7-Ubuntu-124.04.1<br>1:45:48=E2=80=AFPM [main] =
[message] Log: <a href=3D"http://java.vm.name" target=3D"_blank">java.vm.na=
me</a>=3DOpenJDK 64-Bit Server VM<br>1:45:48=E2=80=AFPM [main] [message] Lo=
g: java.runtime.version=3D21.0.6+7-Ubuntu-124.04.1<br>1:45:48=E2=80=AFPM [m=
ain] [message] Log: <a href=3D"http://java.runtime.name" target=3D"_blank">=
java.runtime.name</a>=3DOpenJDK Runtime Environment<br>1:45:48=E2=80=AFPM [=
main] [message] Log: java.vendor=3DUbuntu<br>1:45:48=E2=80=AFPM [main] [mes=
sage] Log: java.compiler=3Dnull<br>1:45:48=E2=80=AFPM [main] [message] Log:=
 <a href=3D"http://os.name" target=3D"_blank">os.name</a>=3DLinux<br>1:45:4=
8=E2=80=AFPM [main] [message] Log: os.version=3D6.8.0-55-generic<br>1:45:48=
=E2=80=AFPM [main] [message] Log: os.arch=3Damd64<br>1:45:48=E2=80=AFPM [ma=
in] [message] Log: user.home=3D/home/derek<div>1:45:48=E2=80=AFPM [main] [m=
essage] Log: java.home=3D/usr/lib/jvm/java-21-openjdk-amd64=C2=A0</div><div=
><br></div><div>Note it truncates the location of the java executable.=C2=
=A0 This jedit 5.5 but the same was true for 5.7</div></div>
-- <br>
-----------------------------------------------<br>
jEdit Users&#39; List<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">jEdi=
[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/jedit-users" rel=3D=
"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo=
/jedit-users</a><br>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
-- <br>
-----------------------------------------------<br>
jEdit Users&#39; List<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">jEdi=
[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/jedit-users" rel=3D=
"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo=
/jedit-users</a><br>
</blockquote></div>

--000000000000ceca760631034d9f--


--===============2348914929333550454==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============2348914929333550454==
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

--===============2348914929333550454==--