Re: jedit 5.6.0 does not run on java11

Pedro Coelho <[email protected]>
Newsgroups gmane.editors.jedit.user
Message-ID <CAFDqb-DHiv6pGiRz9fvw-5u2eaLRBkHBRSmwcFS56N7=Cu_dyw@mail.gmail.com>
I would not like to leave this issue in the air but for now the only
thing that made me be able to run jEdit was in fact running the
version 5.5.0.
I had a problem with lots of old plugins but once I eliminated some of
the troublesome ones my jEdit 5.5.0 is running with no problems.
I wish I could give more insights into the matter but has my 5.5.0
version is running with no problems I think I will stick with it.
Thanks for all the support.
Regards,
Pedro

On Tue, Sep 14, 2021 at 7:29 PM Pedro Coelho <[email protected]> wrote:
>
> I think I have a way around the issue and make jedit work ..
> I used a VM with ubuntu 18 and java 11 installed.  I booted the vm,
> installed jedit and it all worked ... but jeditwas version 5.5.0 ...
> So I installed jedit version 5.5.0 and ... it works ok out of the box
> without plugins.
> Some plugins I have on the old .jedit folder are making jedit crash I
> will investigate the issue and suppress those plugins manually.
>
> On Tue, Sep 14, 2021 at 7:07 PM Pedro Coelho <[email protected]> wrote:
> >
> > Thanks for the support.
> > Im my distro I have installed both gtk2 and gtk3 development packages.
> > The command I issue to start jedit is the following:
> > ---------
> >  java -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
> > -Djdk.gtk.version=2 -jar ./jedit.jar
> > ---------
> > So it starts with all the options the usual start script and also the
> > option requiring for gtk version 2 ..
> >
> >
> > On Tue, Sep 14, 2021 at 2:11 PM Jesse Pavel <[email protected]> wrote:
> > >
> > > Hi Pedro,
> > >
> > > The "[xcb]" errors apparently are caused by GTK v2/3 issues.
> > > Java 11 uses GTK3 by default, I believe.
> > > You can force gtk2 usage via "-Djdk.gtk.version=2" on the command-line.
> > >
> > > Jesse
> > >
> > >
> > > On Tue, Sep 14, 2021 at 5:14 AM Pedro Coelho <[email protected]> wrote:
> > >>
> > >> First and foremost thanks for the fast reply.
> > >> I'm using OpenSuSE Leap latest version with installed openJDK 11
> > >>  java --version
> > >> openjdk 11.0.12 2021-07-20
> > >> OpenJDK Runtime Environment (build 11.0.12+7-suse-3.59.1-x8664)
> > >> OpenJDK 64-Bit Server VM (build 11.0.12+7-suse-3.59.1-x8664, mixed mode)
> > >>
> > >> I was able to start jedit once the option -noplugins.
> > >> After that it also gave the same error.
> > >> Then I decided to Clean my  ~/.jedit/ directory since  that could
> > >> indeed be the problem because I always save use this same /home and
> > >> all folder even after all jedit upgrades ... since the first versions
> > >> ... :)
> > >> So I backed up the .jedit directory and removed all files
> > >> Now I get and even more serious error:
> > >> ------------------------------------------------------
> > >> ~/bin/jedit -noplugins
> > >> [xcb] Unknown sequence number while processing reply
> > >> [xcb] Most likely this is a multi-threaded client and XInitThreads has
> > >> not been called
> > >> [xcb] Aborting, sorry about that.
> > >> java: xcb_io.c:727: _XReply: Assertion `!xcb_xlib_threads_sequence_lost' failed.
> > >> Aborted (core dumped)
> > >> ------------------------------------------------------
> > >> the same error occurs if I simply exceute the jedit command with or
> > >> without the reference to load plugins or not.
> > >> Is there something wrong with my setup ?
> > >> regards.
> > >>
> > >> On Mon, Sep 13, 2021 at 11:34 PM Dale Anson <[email protected]> wrote:
> > >> >
> > >> > Yeah, it's getting stuck on parsing the killring.xml (KILLRING not killing!). That happens before plugins are loaded, so it's not a plugin issue. You can just delete the killring.xml file, jEdit will make a new one for you.
> > >>
> > >>
> > >> --
> > >> -----------------------------------------------
> > >> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.