You are not logged in.

#1 2019-08-21 17:39:16

arislas
Member
Registered: 2019-08-21
Posts: 6

[SOLVED] bluej

Hello, after last update of arch I can't run bluj. Java output is:

java-10-openjdk
java-11-j9
java-11-openjdk (default)
java-12-jdk
java-12-openjdk

and bluej output is:

Exception in thread "main" java.lang.NoClassDefFoundError: javafx/application/Application
    at java.base/java.lang.ClassLoader.defineClass1(Native Method)
    at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
    at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
    at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:802)
    at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:700)
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:623)
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    at bluej.Boot.main(Boot.java:202)
Caused by: java.lang.ClassNotFoundException: javafx.application.Application
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    ... 10 more

Thank you all.

Last edited by arislas (2019-08-22 15:11:45)

Offline

#2 2019-08-21 17:54:33

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 28,147
Website

Re: [SOLVED] bluej

Updating AUR packages is your job, not pacman's. Moving to AUR Issues.

Also, edit your thread title: the current one is useless: https://wiki.archlinux.org/index.php/Co … ow_to_post


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-08-22 07:20:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 7,918

Re: [SOLVED] bluej

Which openjfx libraries did you install? the "default" openjfx packages have been bumped to java 12 compatibility, you will want to install      java11-openjfx if you want to continue to use java11 as your primary runtime.

Online

#4 2019-08-22 11:14:19

arislas
Member
Registered: 2019-08-21
Posts: 6

Re: [SOLVED] bluej

V1del wrote:

Which openjfx libraries did you install? the "default" openjfx packages have been bumped to java 12 compatibility, you will want to install      java11-openjfx if you want to continue to use java11 as your primary runtime.

I have installed java11-openjfx but the output is the same.

$ pacman -Q java11-openjfx
java11-openjfx 11.0.3.u1-1


$ bluej
Exception in thread "main" java.lang.NoClassDefFoundError: javafx/application/Application
    at java.base/java.lang.ClassLoader.defineClass1(Native Method)
    at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
    at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
    at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:802)
    at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:700)
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:623)
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    at bluej.Boot.main(Boot.java:202)
Caused by: java.lang.ClassNotFoundException: javafx.application.Application
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    ... 10 more

thank you for your answer.

Offline

#5 2019-08-22 11:20:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 7,918

Re: [SOLVED] bluej

And your bluej version? According to the AUR comments there was an update to the AUR package.

Online

#6 2019-08-22 11:23:23

arislas
Member
Registered: 2019-08-21
Posts: 6

Re: [SOLVED] bluej

Solved. I think it was a problem whith yesterday's bluej update. Today there was another bluej update and all is ok. Bluej works. Thank you all.

Offline

#7 2019-08-22 13:06:22

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 2,843

Re: [SOLVED] bluej

Please remember to mark your thread [SOLVED] (edit the title of your first post).

And please pay attention when a moderator or admin asks you to do something. You were asked to change the thread title.

Read How to Post before you post again.

Offline

#8 2019-08-22 15:09:12

arislas
Member
Registered: 2019-08-21
Posts: 6

Re: [SOLVED] bluej

2ManyDogs wrote:

Please remember to mark your thread [SOLVED] (edit the title of your first post).

And please pay attention when a moderator or admin asks you to do something. You were asked to change the thread title.

Read How to Post before you post again.

Ok, excuse me, I'll do it now. Thank you.

Offline

Board footer

Powered by FluxBB