Re: $JAVA_HOME, 5.7 no FTB
Derek Christiansen <[email protected]> Sun, 23 Mar 2025 18:17:29 -0700
| Newsgroups | gmane.editors.jedit.user |
|---|---|
| Message-ID | <CAKOvPLQDHSz5KpFLVy+Bb4oK+w3yc1_B1fC4-+iYwr-s6Z2eww@mail.gmail.com> |
--===============0696256250196410369== Content-Type: multipart/alternative; boundary="000000000000d3b99c06310c5e43" --000000000000d3b99c06310c5e43 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Well, spoke too soon. After trying to open as many files as possible from FTP, it appears 7 or 8 is the limit (per session)...I opened 5 closed them all, then opened 3 more and it froze again...this using the pre-release FTP and the current version. So, that's a real bug. In the meantime I'll confine myself to being aware that I need to quit the app after opening 7 or 8 FTP files. BTW: I'm a remote worker and all my day-to-day activity is done via FTP in jedit. This app has been my workhorse for a long time. On Sun, Mar 23, 2025 at 5:37=E2=80=AFPM Derek Christiansen <slis.derek@gmai= l.com> wrote: > Thank you. That's super kind of you, and unexpected. > > Have to say after getting the $JAVA_HOME thing squared away and setting > the correct path and setting 21 as default using java-common tools I've > made > the freezing bug go away. > > My old friend, jedit, is back to its reliable self. I am so happy. Using > 5.6 with Java 21 > every thing is working fine. So, I'll wait for the production release of > FTP and when > 5.7 is working well with the new FTP I'll do the upgrade. > > Thanks again for being so responsive. > > On Sun, Mar 23, 2025 at 5:23=E2=80=AFPM Alan Ezust <[email protected]>= wrote: > >> Here is a pre-release on google drive. >> >> https://drive.google.com/drive/folders/1bvedx-mqVU4JGdhXYrjtxka6LFeA6-YW= ?usp=3Dsharing >> >> >> >> On Sun, Mar 23, 2025 at 9:45=E2=80=AFAM Derek Christiansen <slis.derek@g= mail.com> >> wrote: >> >>> One last bit. I resolved the $JAVA_HOME bit by adding lines to ~/.profi= le >>> >>> AND...the big issue [freezing] only happens in when using FTP. Local >>> files >>> cause no conflict. >>> >>> On Sun, Mar 23, 2025 at 8:44=E2=80=AFAM Derek Christiansen <slis.derek@= gmail.com> >>> wrote: >>> >>>> One more thing...reading the devel mailing list I see there is some >>>> issue with Java version. >>>> Should I be using 11 rather 21? >>>> >>>> On Sun, Mar 23, 2025 at 8:32=E2=80=AFAM Derek Christiansen < >>>> [email protected]> wrote: >>>> >>>>> Thank you for the update. That still doesn't address the Java mess or >>>>> the fact that it >>>>> freezes when too many files are opened. I noticed that was an open >>>>> item on bug tracker: >>>>> >>>>> https://sourceforge.net/p/jedit/bugs/4134/ >>>>> >>>>> I posted this there: >>>>> >>>>> I've had this problem when opening too many files at once. One of >>>>>> things that's great about jedit is the infinite divisibility of the = editor >>>>>> window. I used to be able to open 15 separate windows. By reverting = back >>>>>> 5.4 the problem exists but goes away if I close a file. In 5.5 & 5.6= the >>>>>> app needs to closed and reopened. >>>>> >>>>> >>>>> On Sun, Mar 23, 2025 at 7:28=E2=80=AFAM Alan Ezust <alan.ezust@gmail.= com> >>>>> wrote: >>>>> >>>>>> 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 < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> I meant FTP...jedit is useless without it. I've been a jedit user >>>>>>> for over 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 <dale@daleanson.= com> >>>>>>> wrote: >>>>>>> >>>>>>>> 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-u= buntu/ >>>>>>>> >>>>>>>> What is FTB/SFTB? >>>>>>>> >>>>>>>> On Fri, Mar 21, 2025 at 9:17=E2=80=AFAM Derek Christiansen < >>>>>>>> [email protected]> 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 <dale@daleanso= n.com> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Do you have the Ubuntu java-common package installed? That >>>>>>>>>> package provides the update-java-alternatives utility which allo= ws you to >>>>>>>>>> choose 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 it. >>>>>>>>>>>> 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/jav= a... >>>>>>>>>>> >>>>>>>>>>> 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-Bit >>>>>>>>>>> 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=3DOp= enJDK >>>>>>>>>>> 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-= generic >>>>>>>>>>> 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/dere= k >>>>>>>>>>> 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 >>>>>>> >>>>>> --000000000000d3b99c06310c5e43 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Well, spoke too soon. After trying to open as many files a= s possible from FTP, it<div>appears 7 or 8 is the limit (per session)...I o= pened 5 closed them all, then opened=C2=A0</div><div>3 more and it froze ag= ain...this using the pre-release FTP and the current version.</div><div><br= ></div><div>So, that's a real bug. In the meantime I'll confine mys= elf to being aware that I need to</div><div>quit the app after opening 7 or= 8 FTP files.</div><div><br></div><div>BTW: I'm a remote worker and all= my day-to-day activity is done via FTP in jedit.</div><div>This app has be= en my workhorse for a long time.</div></div><br><div class=3D"gmail_quote g= mail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Mar 23,= 2025 at 5:37=E2=80=AFPM Derek Christiansen <<a href=3D"mailto:slis.dere= [email protected]">[email protected]</a>> wrote:<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex"><div dir=3D"ltr">Thank you. That's sup= er kind of you, and unexpected.<div><br></div><div>Have to say after gettin= g the $JAVA_HOME thing squared away and setting</div><div>the correct path = and setting 21 as default using java-common tools I've made</div><div>t= he freezing bug go away.</div><div><br></div><div>My old friend, jedit, is = back to its reliable self. I am so happy. Using 5.6 with Java 21</div><div>= every thing is working fine.=C2=A0 So, I'll wait for the production rel= ease of FTP and when</div><div>5.7 is working well with the new FTP I'l= l do the upgrade.</div><div><br></div><div>Thanks again for being so respon= sive.=C2=A0</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" clas= s=3D"gmail_attr">On Sun, Mar 23, 2025 at 5:23=E2=80=AFPM Alan Ezust <<a = href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= </a>> 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"><div>Here is a pre-release on google drive.</div><div><a h= ref=3D"https://drive.google.com/drive/folders/1bvedx-mqVU4JGdhXYrjtxka6LFeA= 6-YW?usp=3Dsharing" target=3D"_blank">https://drive.google.com/drive/folder= s/1bvedx-mqVU4JGdhXYrjtxka6LFeA6-YW?usp=3Dsharing</a></div><div><br></div><= div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class= =3D"gmail_attr">On Sun, Mar 23, 2025 at 9:45=E2=80=AFAM Derek Christiansen = <<a href=3D"mailto:[email protected]" target=3D"_blank">slis.derek@gm= ail.com</a>> 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-lef= t:1ex"><div dir=3D"ltr">One last bit. I resolved the $JAVA_HOME bit by addi= ng lines to ~/.profile<div><br></div><div>AND...the big issue [freezing] on= ly happens in when using FTP. Local files</div><div>cause no conflict.</div= ></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr"= >On Sun, Mar 23, 2025 at 8:44=E2=80=AFAM Derek Christiansen <<a href=3D"= mailto:[email protected]" target=3D"_blank">[email protected]</a>>= 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">One more thing...reading the devel mailing list I see there is som= e issue with Java version.<div>Should I be using 11 rather 21?</div></div><= br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sun,= Mar 23, 2025 at 8:32=E2=80=AFAM Derek Christiansen <<a href=3D"mailto:s= [email protected]" target=3D"_blank">[email protected]</a>> wrote:<= br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e= x;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"= >Thank=C2=A0you for the update. That still doesn't address the Java mes= s or the fact that it=C2=A0<div>freezes when too many files are opened. I n= oticed that was an open item on bug tracker:</div><div><br></div><div><a hr= ef=3D"https://sourceforge.net/p/jedit/bugs/4134/" target=3D"_blank">https:/= /sourceforge.net/p/jedit/bugs/4134/</a></div><div><br></div><div>I posted t= his there:</div><div><br></div><blockquote class=3D"gmail_quote" style=3D"m= argin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left= :1ex">I've had this problem when opening too many files at once. One of= things that's great about jedit is the infinite divisibility of the editor=20 window. I used to be able to open 15 separate windows. By reverting back 5.4 the problem exists but goes away if I close a file. In 5.5 &=20 5.6 the app needs to closed and reopened.=C2=A0</blockquote></div><br><div = class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Mar 23,= 2025 at 7:28=E2=80=AFAM Alan Ezust <<a href=3D"mailto:alan.ezust@gmail.= com" target=3D"_blank">[email protected]</a>> wrote:<br></div><blockq= uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p= x solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>There will= be a newer release of FTP soon. The release announcement was already made.= </div><div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" = class=3D"gmail_attr">On Fri, Mar 21, 2025 at 9:47=E2=80=AFAM Derek Christia= nsen <<a href=3D"mailto:[email protected]" target=3D"_blank">slis.der= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quote" styl= e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin= g-left:1ex"><div dir=3D"ltr">I meant FTP...jedit is useless without it. I&#= 39;ve been a jedit user for over 10 years and I've=C2=A0<div>had to scu= ttle it and now use VS Code (after trying Kate, Cuda, Codium).</div><div>Ge= dit is excellent but no code folding which is a must.</div><div>It breaks m= y heart to do it because I've loved jedit. But now it freezes if I open= too many files</div><div>and the newest version is broken. (Dicking with J= ava sucks).</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" clas= s=3D"gmail_attr">On Fri, Mar 21, 2025 at 9:25=E2=80=AFAM Dale Anson <<a = href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>= > 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">No, I was talking about some tools that Ubuntu has for managin= g java installations. This article has a pretty good description:=C2=A0<a h= ref=3D"https://hostman.com/tutorials/switching-between-java-versions-on-ubu= ntu/" target=3D"_blank">https://hostman.com/tutorials/switching-between-jav= a-versions-on-ubuntu/</a><div><br></div><div>What is FTB/SFTB?=C2=A0</div><= /div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">O= n Fri, Mar 21, 2025 at 9:17=E2=80=AFAM Derek Christiansen <<a href=3D"ma= ilto:[email protected]" target=3D"_blank">[email protected]</a>> w= rote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0p= x 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir= =3D"ltr">In my jvm directory I have 'default-java' is that what you= mean?</div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_= attr">On Fri, Mar 21, 2025 at 9:14=E2=80=AFAM Dale Anson <<a href=3D"mai= lto:[email protected]" target=3D"_blank">[email protected]</a>> wrote:= <br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8= ex;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 provid= es the update-java-alternatives utility which allows you to choose and swit= ch between installed versions of java.=C2=A0</div><br><div class=3D"gmail_q= uote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Mar 19, 2025 at 1:52=E2= =80=AFPM Derek Christiansen <<a href=3D"mailto:[email protected]" tar= get=3D"_blank">[email protected]</a>> wrote:<br></div><blockquote cla= ss=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">Like others before me I= had to scuttle 5.7 as SFTB doesn't work.<div><br></div><div>Of note, U= buntu syslog always throws this:</div><div><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">2025-03-19T13:38:29.926376-07:00 INF-DEREK-LINU= X jedit.desktop[42878]: Warning: $JAVA_HOME environment variable not set! C= onsider setting it.<br>2025-03-19T13:38:29.926493-07:00 INF-DEREK-LINUX jed= it.desktop[42878]: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Attempting to locate j= ava...<br>2025-03-19T13:38:29.926773-07:00 INF-DEREK-LINUX jedit.desktop[42= 878]: Found a virtual machine at: /usr/bin/java...</blockquote><div>the one= found points to the actual JRE through 2 symlinks.=C2=A0</div><div><br></d= iv><div>but BASH shows this:</div><div><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 cla= ss=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid = rgb(204,204,204);padding-left:1ex">/usr/lib/jvm/java-21-openjdk-amd64/bin/j= ava</blockquote><div><br></div><div>but activity log shows:</div><div>=C2= =A0</div>1:45:48=E2=80=AFPM [main] [message] Log: java.version=3D21.0.6<br>= 1:45:48=E2=80=AFPM [main] [message] Log: 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.name</a>=3DOpenJDK 64-Bit Server VM<br>= 1:45:48=E2=80=AFPM [main] [message] Log: java.runtime.version=3D21.0.6+7-Ub= untu-124.04.1<br>1:45:48=E2=80=AFPM [main] [message] Log: <a href=3D"http:/= /java.runtime.name" target=3D"_blank">java.runtime.name</a>=3DOpenJDK Runti= me Environment<br>1:45:48=E2=80=AFPM [main] [message] Log: java.vendor=3DUb= untu<br>1:45:48=E2=80=AFPM [main] [message] 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:48=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 [main] [message] Log: user.home=3D/home/= derek<div>1:45:48=E2=80=AFPM [main] [message] 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 tru= e for 5.7</div></div> -- <br> -----------------------------------------------<br> jEdit Users' 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' 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> </blockquote></div> </blockquote></div> </blockquote></div> --000000000000d3b99c06310c5e43-- --===============0696256250196410369== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============0696256250196410369== 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 --===============0696256250196410369==--