Package Details: bluej 4.2.1-2

Git Clone URL: (read-only)
Package Base: bluej
Description: An integrated Java environment specifically designed for introductory teaching
Upstream URL:
Licenses: GPL2, custom, BSD, MIT, Apache, LGPL2.1, CPL
Submitter: zerathidune
Maintainer: chetgurevitch
Last Packager: chetgurevitch
Votes: 74
Popularity: 0.002838
First Submitted: 2007-11-19 19:23
Last Updated: 2019-06-07 02:17

Required by (0)

Sources (3)

Latest Comments

1 2 3 4 5 6 Next › Last »

hemicepha commented on 2019-06-23 15:40

The jdk-openjdk package contains the java-12-openjdk version and it looks like bluej can't use it yet:

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(
        at java.base/
        at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(
        at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.ja
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(
        at java.base/java.lang.ClassLoader.loadClass(
        at bluej.Boot.main(
Caused by: java.lang.ClassNotFoundException: javafx.application.Application
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(
        at java.base/

You have to manually install jdk11-openjdk and set it as default sudo archlinux-java set java-11-openjdk

mncarbone commented on 2019-05-09 12:09

[SOLVED] For solving the java version problem you must have installed the jdk-openjdk package and run:

sudo archlinux-java set java-11-openjdk


WantToInstallBlu commented on 2019-05-07 22:28

I tried 4.2.0 and 4.2.1 both didn't work. I installed openjfx and all java stuff but i am getting this error: Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.UnsupportedClassVersionError: bluej/Boot has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Edit: With the command above it just works fine. Thank you for your help.

chetgurevitch commented on 2019-05-03 03:06

@Fuxy you need java-openjfx-bin from the aur.

@auslaander did you make sure jdk11 was the default with archlinux-java?

If you did and it still didn't work could you try running bluej from the terminal and attach the output?

Fuxy commented on 2019-05-03 03:02

I'm getting "error: target not found: java-openjfx>=11" when i try to build the latest version.

Any plans to get that dependency updated?

Otherwise as @auslaander said the only option is to stick to the install and older version.

auslaander commented on 2019-04-29 18:47

4.20 didnt work for me aswell, I tried everything but then I tried 4.14 with jdk8 and it worked instantly.. so if you dont really need the latest version go for the last version without jdk11

teacher4711 commented on 2019-04-24 14:55

@0x715C For me, BlueJ does not start because some jars are missing in the file you pointed at at pastebin, i. e. the JAVAFX_CP path. (BTW, at the end of the JAVAFX_CP line the " is missing.)

My bluej file in /usr/bin looks like this:


JAVAFX_LIB="/usr/lib/jvm/javafx-sdk-11.0.2/lib/" JAVAFX_CP="$JAVAFX_LIB/javafx.base.jar:$JAVAFX_LIB/javafx.controls.jar:$JAVAFX_LIB/javafx.fxml.jar:$JAVAFX_LIB/$JAVAFX_LIB/$JAVAFX_LIB/javafx.swing.jar:$JAVAFX_LIB/javafx.web.jar:$JAVAFX_LIB/javafx.swt.jar:$JAVAFX_$"

java -Djavafx.embed.singleThread=true \ -Dawt.useSystemAAFontSettings=on \ -cp /opt/bluej/bluej.jar:/usr/lib/jvm/default/lib/tools.jar:$JAVAFX_CP bluej.Boot \ "$@"

The openjfx package was downloaded from since the aur-version is faulty and orphaned. I put it in the same folder there the jvm resides.

To run JavaFX applications, i. e. make imports like these work: import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage;

go to Options -> Preferences -> Libraries and import the jars found in the lib folder of the openjfx package from gluon (cf. above). I'm not sure how to point to the jars differently.

0x715C commented on 2019-03-14 05:25

If you want to try 420. Install java-openjfx-bin from aur. Edit the PKGBUILD to use 4.2.0 as pkg_ver and SKIP sha256sum(or update them) Edit /usr/bin/bluej to include openjfx libraries in -cp flag. eg.

Should work. The menu is buggy on xorg/i3, not sure about other DE's.

chetgurevitch commented on 2019-02-19 21:04

Just to let everyone know I'm waiting on openjfx packaging for java 11 to get resolved before updating the package.

stephenn commented on 2019-01-09 13:22

The current version requires Java 8. BlueJ 4.2.0 is expected to support JDK 11. See: