LxPlan doesn't work on Pop-os

Questions and issues concerning LXPlan (formerly LXFree for Java)
piermarco.lunghi
Posts: 3
Joined: Tue Dec 27, 2022 7:01 pm

LxPlan doesn't work on Pop-os

Postby piermarco.lunghi » Tue Dec 27, 2022 7:04 pm

As in the topic, I've installed lxplan on pop os, with java runtime v19. I can see the icon in the menu but it's not opening the software...please help!

admin
Site Admin
Posts: 235
Joined: Mon Nov 20, 2017 4:31 pm

Re: LxPlan doesn't work on Pop-os

Postby admin » Wed Dec 28, 2022 1:40 pm

Open a terminal window and type the following command:

Code: Select all

java -jar /usr/share/claudeheintzdesign-lxseries/LXPlan.jar


This is the command used by the desktop launcher. Running it in the terminal should allow you to see if there are any error messages. There are a lot of possibilities. If either the java command or the -jar option are unavailable, then there is a problem with your version of Java. Otherwise, you should see what the specific problem with running LXPlan is.

piermarco.lunghi
Posts: 3
Joined: Tue Dec 27, 2022 7:01 pm

Re: LxPlan doesn't work on Pop-os

Postby piermarco.lunghi » Wed Dec 28, 2022 10:30 pm

Hi Admin!
What a fast support!! Thanks a lot! I think the problem is that:

Code: Select all

No X11 DISPLAY variable was set,

I think in pop os i'm running wayland, is this the problem?
I use LxPlan on my others mxlinux laptops and it run perfectly...

PS. I'm working as light designer for theater shows, in a linux-based way...not only open software but absolutely linux-based...so...i really need software like LxPlan, and if i can help you to improve it, i'll do what i can! (so let me know, eventually, if i can do something!)

PPS. the complete response is:

Code: Select all

Exception in thread "main" java.lang.reflect.InvocationTargetException
   at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
   at java.base/java.lang.reflect.Method.invoke(Method.java:578)
   at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:61)
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set,
or no headful library support was found,
but this program performed an operation which requires it,

   at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:166)
   at java.desktop/java.awt.Window.<init>(Window.java:553)
   at java.desktop/java.awt.Frame.<init>(Frame.java:428)
   at java.desktop/java.awt.Frame.<init>(Frame.java:393)
   at java.desktop/javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1919)
   at java.desktop/javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1995)
   at java.desktop/javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1696)
   at java.desktop/javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:875)
   at java.desktop/javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:677)
   at java.desktop/javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:648)
   at java.desktop/javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:619)
   at jlx.LXPlan.Run(LXPlan.java:39)
   at jlx.LXPlan.main(LXPlan.java:48)
   at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
   ... 2 more
nunc@pop-os:~$ pavucontrol
nunc@pop-os:~$ java -jar /usr/share/claudeheintzdesign-lxseries/LXPlan.jar
Exception in thread "main" java.lang.reflect.InvocationTargetException
   at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
   at java.base/java.lang.reflect.Method.invoke(Method.java:578)
   at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:61)
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set,
or no headful library support was found,
but this program performed an operation which requires it,

   at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:166)
   at java.desktop/java.awt.Window.<init>(Window.java:553)
   at java.desktop/java.awt.Frame.<init>(Frame.java:428)
   at java.desktop/java.awt.Frame.<init>(Frame.java:393)
   at java.desktop/javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1919)
   at java.desktop/javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1995)
   at java.desktop/javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1696)
   at java.desktop/javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:875)
   at java.desktop/javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:677)
   at java.desktop/javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:648)
   at java.desktop/javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:619)
   at jlx.LXPlan.Run(LXPlan.java:39)
   at jlx.LXPlan.main(LXPlan.java:48)
   at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
   ... 2 more

admin
Site Admin
Posts: 235
Joined: Mon Nov 20, 2017 4:31 pm

Re: LxPlan doesn't work on Pop-os

Postby admin » Thu Dec 29, 2022 12:11 am

Perhaps someone else knows something about Pop-os or wayland and can answer this. It sounds as though you may have unconventional hardware you are trying to run LXPlan on. If you google, you might find an answr like this one: https://stackoverflow.com/questions/662 ... es-it-mean

admin
Site Admin
Posts: 235
Joined: Mon Nov 20, 2017 4:31 pm

Re: LxPlan doesn't work on Pop-os

Postby admin » Thu Dec 29, 2022 12:18 am

It may be that wayland is not compatible with Java:

https://www.phoronix.com/news/Java-Nati ... d-Progress

Can you switch to X11?

piermarco.lunghi
Posts: 3
Joined: Tue Dec 27, 2022 7:01 pm

Re: LxPlan doesn't work on Pop-os

Postby piermarco.lunghi » Thu Dec 29, 2022 4:37 pm

I think i'll install mx on this laptop too...thanks a lot!