Search Criteria
Package Details: greenfoot 3.8.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/greenfoot.git (read-only, click to copy) |
---|---|
Package Base: | greenfoot |
Description: | Educational software designed to make learning programming easy and fun. |
Upstream URL: | https://www.greenfoot.org |
Licenses: | GPL2, custom, BSD, MIT, Apache, LGPL2.1, LGPL2, CPL |
Submitter: | even |
Maintainer: | nomisge |
Last Packager: | nomisge |
Votes: | 15 |
Popularity: | 0.000000 |
First Submitted: | 2008-07-14 21:01 (UTC) |
Last Updated: | 2023-12-05 18:03 (UTC) |
Dependencies (4)
- archlinux-java-runAUR
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk11-jbr-xdgAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, jdk8-openj9-binAUR, jdk-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jdkAUR, jdk21-jetbrains-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk17-openj9-binAUR, jdk23-graalvm-ee-binAUR, zing-8-binAUR, zing-21-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk)
- java-openjfxAUR (jre10AUR, jdk10AUR, jdk7AUR, jre7AUR, java11-openjfxAUR, java8-openjfxAUR, liberica-nik-24-full-binAUR, liberica-jdk-17-full-binAUR, java-openjfxAUR, java21-openjfxAUR, zulu-jdk-fx-binAUR, java17-openjfx-binAUR, java21-openjfx-binAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, jre8AUR, jdk8AUR, zulu-17-fx-binAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, java-openjfx-nowebkitAUR, java-openjfx-binAUR, jre-zulu-fx-binAUR, java17-openjfxAUR, jre-zulu-fxAUR)
- java-runtime (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre14-openjdkAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jre11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, jre17-jetbrainsAUR, jdk8-openj9-binAUR, jre-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jre21-jetbrains-gitAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jre19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jre21-jetbrainsAUR, jdk17-zulu-prime-binAUR, jre17AUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jre8AUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jreAUR, jdkAUR, jdk21-jetbrains-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk17-openj9-binAUR, jre-zuluAUR, jre-zulu-fxAUR, jre21-zulu-binAUR, jre17-zulu-binAUR, jdk23-graalvm-ee-binAUR, zing-8-binAUR, zing-21-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre8-openjdk)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 Next › Last »
teacher4711 commented on 2019-12-07 08:40 (UTC)
Awesome. Works without any issues now.
@chetgurevitch Could you please alter the file accordingly? That would be great.
Thanks a lot to everyone.
foer commented on 2019-12-05 05:57 (UTC)
Greenfoot starts but then gives that error mentioned by @teacher4711 when opening a scenario. Three modifications in /usr/bin/greenfoot have to be done:
In all it then looks like:
!/bin/sh
if [ -e /usr/lib/jvm/java-11-openjfx/lib ]; then JAVAFX_HOME=/usr/lib/jvm/java-11-openjfx/lib else JAVAFX_HOME=/usr/lib/jvm/java-11-openjdk fi
JAVAFX_CP="$JAVAFX_HOME/lib/javafx.base.jar:$JAVAFX_HOME/lib/javafx.controls.jar:$JAVAFX_HOME/lib/javafx.fxml.jar:$JAVAFX_HOME/lib/javafx.graphics.jar:$JAVAFX_HOME/lib/javafx.media.jar:$JAVAFX_HOME/lib/javafx.swing.jar:$JAVAFX_HOME/lib/javafx-swt.jar:$JAVAFX_HOME/lib/javafx.web.jar"
archlinux-java-run -a 11 -b 11 -- -Dawt.useSystemAAFontSettings=on \ -cp /opt/greenfoot/bluej.jar:/usr/lib/jvm/default/lib/tools.jar:$JAVAFX_CP bluej.Boot \ -greenfoot=true \ -bluej.compiler.showunchecked=false \ -greenfoot.url.javadoc=file:///usr/share/doc/greenfoot/API \ -javafxpath="$JAVAFX_HOME" \ "$@"
Frontear commented on 2019-11-17 14:43 (UTC)
It seems Greenfoot is having trouble finding certain JavaFX classes, notably KeyCombination as @teacher4711 has already mentioned. It may be that Greenfoot is having trouble dealing with the external packages, but I'm no expert.
teacher4711 commented on 2019-11-08 06:34 (UTC)
Am I missing something? I did a clean install of ArchLinux, built greenfoot with all its dependencies and starting it results in the following error message(s):
Exception in thread "Thread-0" java.lang.NoClassDefFoundError:
javafx/scene/input/KeyCombination at greenfoot.core.GreenfootLauncherDebugVM$1.run(GreenfootLauncherDebugVM.java:80)
Caused by: java.lang.ClassNotFoundException: javafx.scene.input.KeyCombination 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) ... 1 more
There is no such error when installing the jar-Version from the official website.
gurevitch commented on 2019-08-30 20:19 (UTC) (edited on 2019-10-12 19:08 (UTC) by gurevitch)
@teacher4711 thanks for pointing that out, they started bundling those with the 3.6 update for some reason. It isn't in bluej as you noted nor was it in any previous versions of greenfoot. Also violates debian packaging guidelines. Package size is back down to 17mb and I might end up switching the package we download to the generic java one to save on the download as well.
teacher4711 commented on 2019-08-22 12:44 (UTC) (edited on 2019-08-22 12:44 (UTC) by teacher4711)
Thanks for the hard work and the fact that you maintain the package. Greenfoot works flawlessly now.
Just one question: Greenfoot is roughly 200 megs in size, BlueJ 15, and both rely on JDK 11 and JavaFX, don't they? Would it be possible to strip the JDK and JavaFX from /opt/greenfoot and make Greenfoot rely on the packages provided by Arch Linux to reduce size?
gurevitch commented on 2019-08-22 01:02 (UTC)
There's an update to the java11-openjfx package in the testing repo that changes the location. I've pushed another update that allows it to fall back to the old location.
teacher4711 commented on 2019-08-21 08:26 (UTC)
My greenfoot does not start due to a wrong path in /usr/bin/greenfoot
The JAVA-HOME path must be java-11-openjdk (and not java11-openjfx) because the java11-openjfx-11.0.3.u1-1-x86_64.pkg.tar.xz package installs into /usr/lib/jvm/java-11-openjdk
The correct line therefore reads: JAVAFX_HOME=/usr/lib/jvm/java-11-openjdk/lib
gurevitch commented on 2019-08-20 22:51 (UTC)
Thanks to the javafx packaging getting sorted out in the repos and the archlinux-java-run script, the latest version should just work™ regardless of what archlinux-java is set to.
Charon77 commented on 2019-08-20 08:22 (UTC)
I had to modify this in order to work, otherwise I got error stating it cannot find JavaFX. It seems the reason is due to missing JavaFX (even though it is installed)
-- PKGBUILD pkgver=3.6.0 sha256sums('SKIP' ...
then do makepkg and pacman -U
Here's the related installed packages: local/java-openjfx 11.0.3.u1-1 (This should be pulled with greenfoot) * local/jdk11-openjdk 11.0.4.u11-1 * local/jre11-openjdk 11.0.4.u11-1 local/jre11-openjdk-headless 11.0.4.u11-1 (This should be pulled by the jre11-openjdk)
Then, here's the modified /usr/bin/greenfoot, with added explicit javafx jars
!/bin/sh
java \ -Dawt.useSystemAAFontSettings=on \ -cp /opt/greenfoot/bluej.jar:/usr/lib/jvm/default/lib/tools.jar:/usr/lib/jvm/default/lib/javafx.base.jar:/usr/lib/jvm/default/lib/javafx.controls.jar:/usr/lib/jvm/default/lib/javafx.fxml.jar:/usr/lib/jvm/default/lib/javafx.graphics.jar:/usr/lib/jvm/default/lib/javafx.media.jar:/usr/lib/jvm/default/lib/javafx.swing.jar:/usr/lib/jvm/default/lib/javafx.web.jar \ bluej.Boot \ -greenfoot=true \ -bluej.compiler.showunchecked=false \ -greenfoot.url.javadoc=file:///usr/share/doc/greenfoot/API \ "$@"
« First ‹ Previous 1 2 3 4 5 6 Next › Last »