Package Details: bluej 4.2.2-1

Git Clone URL: https://aur.archlinux.org/bluej.git (read-only, click to copy)
Package Base: bluej
Description: An integrated Java environment specifically designed for introductory teaching
Upstream URL: https://www.bluej.org
Licenses: GPL2, custom, BSD, MIT, Apache, LGPL2.1, CPL
Submitter: zerathidune
Maintainer: chetgurevitch
Last Packager: chetgurevitch
Votes: 73
Popularity: 0.076029
First Submitted: 2007-11-19 19:23
Last Updated: 2019-10-12 19:07

Dependencies (4)

Required by (0)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 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(ClassLoader.java:1016)
        at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151)
        at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:802)
        at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.ja
        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/

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

Regards.

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

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. https://pastebin.com/mggNC17g

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: https://www.bluej.org/faq.html#bluej-with-java-9-plus

pyropeter commented on 2018-11-01 12:48

Okay, this doesn't work with JDK10 or JDK7, but it does work with JDK8. I didn't check JDK9. Please fix the package.