Package Details: java8-openjfx 8.u202-10

Git Clone URL: https://aur.archlinux.org/java8-openjfx.git (read-only, click to copy)
Package Base: java8-openjfx
Description: Java OpenJFX 8 client application platform (open-source implementation of JavaFX)
Upstream URL: https://wiki.openjdk.java.net/display/OpenJFX/Main
Keywords: java8-openjfx openjfx
Licenses: GPL
Provides: java-openjfx
Submitter: freswa
Maintainer: Rogach
Last Packager: Rogach
Votes: 13
Popularity: 0.56
First Submitted: 2022-03-09 18:41 (UTC)
Last Updated: 2024-05-25 07:41 (UTC)

Required by (79)

Sources (11)

Latest Comments

« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 Next › Last »

Shalrath commented on 2023-02-10 18:04 (UTC)

When both python2 and python3 are installed, this fails to build because it uses python3 and then complains "Python 2 is required, but Python 3 was found."

Rogach commented on 2023-02-07 13:17 (UTC)

@gnaggnoyil I think that's not what fails the build - -fpermissive flag actually allows the build to continue in presence of such errors. Can you post the whole log somewhere?

gnaggnoyil commented on 2023-02-04 15:45 (UTC)

I met the following error when running makepks -s:

/home/gnaggnoyil/.cache/yay/java8-openjfx/src/rt-8u202-ga/modules/web/src/main/native/Source/WebCore/bridge/jni/JobjectWrapper.cpp: 在析构函数‘JSC::Bindings::JobjectWrapper::~JobjectWrapper()’中:
/home/gnaggnoyil/.cache/yay/java8-openjfx/src/rt-8u202-ga/modules/web/src/main/native/Source/WebCore/bridge/jni/JobjectWrapper.cpp:57:36: 错误:invalid conversion from ‘jobject’ {aka ‘__jobject*’} to ‘jweak’ {aka ‘__jweak*’} [-fpermissive]
   57 |         m_env->DeleteWeakGlobalRef(m_instance);
      |                                    ^~~~~~~~~~
      |                                    |
      |                                    jobject {aka __jobject*}
In file included from /home/gnaggnoyil/.cache/yay/java8-openjfx/src/rt-8u202-ga/modules/web/build/linux/Release/DerivedSources/ForwardingHeaders/wtf/java/JavaRef.h:7,
                 from /home/gnaggnoyil/.cache/yay/java8-openjfx/src/rt-8u202-ga/modules/web/src/main/native/Source/WebCore/bridge/jni/JNIUtility.h:30:
/usr/include/jni.h:1530:35: 附注:  初始化‘void _Jv_JNIEnv::DeleteWeakGlobalRef(jweak)’的实参 1
 1530 |   void DeleteWeakGlobalRef (jweak val0)
      |                             ~~~~~~^~~~

And then the terminal continues to emit about 70000+ messages and then reports the build failed. Is anyone here having the same issue?

Pillgar commented on 2023-02-04 05:19 (UTC)

It works!!!! TYVM kind Sir!!!!

Rogach commented on 2023-02-03 05:38 (UTC)

@Pillgar Patched the PKGBUILD, please test that it now builds on your machine.

Pillgar commented on 2023-02-03 02:01 (UTC)

I think you figured it out.: https://gist.github.com/Pillgar/90931a304e57d75e02c2a3e366e247cb

ilikenwf commented on 2023-02-02 17:00 (UTC)

@Rogach yes on the patch, maybe bad in practice although we should also consider that because of how we handle Java, most people probably don't run java 8 as the default most of the time...and archlinux-java sets all the env vars out of the box.

The PKGBUILD may need to hard code the paths to use a java8 or lower path, and put that in the makedepends...circular self dependence maybe but still...

Rogach commented on 2023-02-02 15:21 (UTC)

Since the build is dependent on specific strings in java -version output, I'm planning to restrict dependencies to jdk8-openjdk and jre8-openjdk (instead of java-runtime-openjdk and java-environment-openjdk). I doubt that someone is running this build with newer JDK version.

However if somebody needs to compile with some other JDK version, then please leave a message here (and include the output of java -version, so that I can patch build.gradle accordingly).

Rogach commented on 2023-02-02 15:18 (UTC)

Aha, so _JAVA_OPTIONS line is throwing it off. Here's the updated test script, please test it: https://gist.github.com/Rogach/6f9639e3025ba744fb77b895c841acf4

Pillgar commented on 2023-02-02 15:07 (UTC)

Done: https://gist.github.com/Pillgar/40441a8186d52e6853d4fa9c05fe76ed