Questions tagged [javafx]
The JavaFX platform enables developers to create and deploy Rich Internet Applications (RIA) that behave consistently across multiple platforms and browsers. Questions about programming with JavaFX should be asked at Stack Overflow Q&A.
58
questions
0
votes
0
answers
21
views
Unable to launch/start a java application(BURAI1.3.2)
I am facing the problem of not being able to launch the burai.desktop burai.sh application in spite of following all the steps of deleting existing java and reinstalling a new java version. After ...
0
votes
1
answer
181
views
Ubuntu not starting Java GUI application except from terminal
I've recently migrated from latest Mint to Ubuntu 23.10 (x64).
In Mint, I used to start a JavaFX GUI app using desktop launcher (java -jar ... defined in ~/.local/share/applications) and it worked ...
0
votes
0
answers
30
views
What happened to the Bionic Beaver openjfx 8 libraries? [duplicate]
I'm trying to install JavaFX for Java 8 on Ubuntu 22.04.3 LTS.
I saw the answer at Installing Old Package from Old Ubuntu to New version of Ubuntu modified my sources list and issued the commands, but ...
0
votes
0
answers
126
views
javafx application run error Invalid or corrupt jarfile
I was trying to run a small javafx application using terminal.But i get this error.
root@abc-abc2051A:~# java -jar --module-path /opt/javafx-sdk-11/lib --add-modules javafx.controls myjar-1.0.0-shaded....
0
votes
1
answer
397
views
JavaFX on Ubuntu 22.04 won't work like on Windows 10
I have ported some JAVA Apps from Windows 10 onto Ubuntu 22.04 (it runs alongside with Windows). Some data:
Acer e15. 360 GB Ubuntu-partition
Java JDK-9.0.4 (I won't move up due to one fact that ...
1
vote
1
answer
991
views
No Machine: Exception in thread "main" java.lang.UnsupportedOperationException: Unable to open DISPLAY
How can I fix this error? I have installed https://github.com/qupath/qupath/releases/download/v0.3.2/QuPath-0.3.2-Linux.tar.xz from QuPath official Website.
jalal@manu:~/QuPath/bin$ ls
total 1524
-rw-...
0
votes
1
answer
5k
views
java.lang.NoClassDefFoundError: javafx/application/Platform despite JavaFx added as Maven dependency
My application is not a JavaFx application but is using some JavaFx librairies (JavaFx Media).
The following code is running fine under Windows. But not Ubuntu:
static void initJavaFx() {
try {
...
0
votes
1
answer
348
views
JavaFX - Bad font rendering - color fringes - blurry tex
Using LTS 20.04 the font rendering of JavaFX applications is very bad.
I'm asking this question so I can answer it myself. It took me some hours of search and trial and error to find the solution. ...
1
vote
1
answer
575
views
how to run Moneydance 2021 on Ubuntu 20.10 on a Raspberry Pi 4
The personal finance program Moneydance is Java-based, so I'd expect to be able to run Moneydance in Ubuntu 20.10 on my Raspberry Pi 4 -- but it complains about the Java version -- MD says:
No ...
2
votes
2
answers
1k
views
Ubuntu 19.10 Eoan won't play sound from my Java programs
After installing Ubuntu 19.10 recently, I've been working on projects that involve playing audio. The file type isn't overly important, wav, mp3, whatever works.
However, I've been unable to get Java ...
1
vote
1
answer
368
views
Problems setting up Java on Ubuntu 19.10
I'm new to all of this, so I ask for your comprehension.
A couple of days ago I installed Ubuntu 19.10 on my PC and I'm having trouble setting up Java. At the beginning, I just used the sudo apt-get ...
0
votes
1
answer
3k
views
How to install and import OpenJFX?
I have installed openjdk 11 and openjfx (using "apt get install openjfx").
Tried to use "import javafx" and "import openjfx" in the code and javac always says that there is no such package.
0
votes
1
answer
263
views
18.04: JavaFx not working
I just recently joined the Linux familly and have been transitionning from windows pretty well but i've just hurt myself to a somewhat strange problem while trying to dev on javafx.
I am currently ...
1
vote
1
answer
4k
views
JavaFX on WSL - java.lang.NoClassDefFoundError: javafx/application/Application
I'm following this guide on openjfx.io to compile and run HelloFX.java.
Ubuntu 18.04.2 LTS, via Windows Sybsystem For Linux
Installed openjdk via apt install openjdk-11-jre
Downloaded JavaFX from ...
0
votes
1
answer
2k
views
I can't find JavaFX jar files on after running apt-get install. I don't even think they got installed
I'm trying to build a JFX app on IntelliJ. I installed JavaFX using the command:
sudo apt-get install openjfx
I found somewhere that I am supposed to add jfxswt.jar and jfxrt.jar to the class path. ...
0
votes
0
answers
224
views
JavaFx is not working in Ubuntu 18.04
I'm learning some basics of JavaFx and I got to know that default java doesn't come with JavaFx. I installed it using this command sudo apt install openjdk-11-jdk openjfx, but when I try to compile my ...
1
vote
0
answers
45
views
Installed location of package files
The file list shows that openjfx installs files in the directory /usr/lib/jvm/java-8-openjdk-amd64, but why dpkg-query -L openjfx on my laptop shows the following result:
/.
/usr
/usr/share
/...
1
vote
0
answers
2k
views
How install JavaFX SDK on Ubuntu
I to try to install JavaFX SDK as here to say, with these command,
java --module-path /home/ss/openjfx-11.0.2_linux-x64_bin-sdk/lib/javafx-sdk-11.0.2
and to come,
Output from javafx installation
...
0
votes
1
answer
587
views
You are using OpenJDK, please Install OpenJFX error?
Hello I am trying to open STM32CubeProgrammer on my Ubuntu system. Once I have installed the program, tried to open it and came up with this error:
You are using OpenJDK, Please install OpenJFX
...
1
vote
4
answers
2k
views
Using ITR utility on Ubuntu or its flavors
Problem:
I want to use ITR e-filing utility (India's Income Tax Return e-filing utility) on Ubuntu or any of its flavors.
What I've tried:
I tried installing java (OpenJDK 11), and installing ...
0
votes
1
answer
3k
views
JavaFX is missing in Oracle JDK
I have installed Oracle JDK 12 from ppa.launchpad.net/linuxuprising but when I create Java FX project in Intellij Idea it says Java FX is not configured in selected JDK. Seems the JDK doesn't include ...
0
votes
1
answer
5k
views
Cannot deploy JavaFX app (Can't build artifact - fx:deploy is not available in this JDK)
I wanted to deploy my first JavaFX JDK 11 application using IntelliJ. I proceeded as follows:
File -> Project structure -> Artifacts -> MyApp.jar -> OK
Then:
Build -> Build artifacts -> Build
...
4
votes
1
answer
3k
views
Installing Old Package from Old Ubuntu to New version of Ubuntu
I want to install openjfx8 (which is compatible with Java 8) on Ubuntu 19.04. This was available on Ubuntu 18.04, and I had installed as follows: (Refer: How do I get Java FX running with OpenJDK 8 on ...
1
vote
0
answers
1k
views
Unable to run jar file that requires JavaFX
I have download a jar file. When I run it, I get the message
JavaFX runtime components are missing............
I then ran the the following command
sudo apt install openjdk-8-jdk openjfx
Still I am ...
4
votes
2
answers
1k
views
Openjfx is not installing
I'm using openjdk-8
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b03-0ubuntu1.18.04.1-b03)
OpenJDK 64-Bit Server VM (build 25.212-b03, mixed mode)
and i try to ...
1
vote
0
answers
192
views
JavaFX not working
I need to run a software built using Java. I downloaded the JRE and JDK, but the software needs to use JavaFX. As I understand it, JavaFX was decoupled from the main packages in more recent Linux ...
2
votes
1
answer
3k
views
Recent upgrade of openjfx broke my installed application
Today I ran apt upgrade on my Ubuntu 18.04 LTS and after that, an installed JavaFX 8 application (internally developed tool) stopped working.
Running the application only brings the following error:
...
6
votes
3
answers
17k
views
How to install & run java 8 and javafx on Ubuntu 18.04
I'd like to install java 8 and javafx on ubuntu 18.04.
I installed openjdk-8-jdk, openjfx and openjdk-8-jre via apt but a compilation of hello world app fails since javac is unable to locate javafx.
...
22
votes
4
answers
122k
views
java.lang.NoClassDefFoundError: javafx/application/Application
I installed OpenJDK-11 as described here.
I ran sudo apt install openjfx
My java version:
$ java -version
openjdk version "11.0.3" 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-...
1
vote
1
answer
530
views
Ubuntu Java Scene Builder too small on a 4k screen
As you can see below the scene builder GUI is far too small
Scene builder
How can I change this? My monitor is 4k
2
votes
0
answers
781
views
OpenJFX not getting installed correctly
I have installed Java from this command:
sudo apt-get install icedtea-8-plugin
sudo apt install openjdk-8-jdk
sudo apt-get install openjfx
So I installed IcedTea, openJDK 8 and openJFX. For some ...
2
votes
1
answer
19k
views
Can't execute my .jar JavaFX application [duplicate]
I'm trying to make the JavaFX application I made on Windows work for Ubuntu. I've made the .jar file and it works fine on Windows 10, but won't work on Ubuntu. Whether I double click it from the ...
3
votes
0
answers
461
views
Creating a snap for JavaFX application
I'm trying to create a snap for a JavaFX application, but I can't seem to figure out how to structure the yaml file.
I've read that I need to use the desktop-launch command, but I also need to call ...
0
votes
1
answer
753
views
Ubuntu version 18.10 JavaFX
load the Ubuntu version 18.10 but I can not run a JavaFx program, what I can do in version 18.04. Do I have to do something extra?
1
vote
0
answers
3k
views
Using OpenJDK and JavaFX for self-contained, modular packaging [duplicate]
EDIT: the tutorial linked in the answer of the duplicated question has gotten me past the problem I wrote about here. I had seen that question earlier and I did not, at the time, think it applied. But ...
3
votes
1
answer
1k
views
Java 8 and Java 11 on Kubuntu
The frequent updates for Java versions is causing me headaches in my software engineering course.
I have some students who are doing their project in Java 11, which is not available on the school's ...
2
votes
1
answer
21k
views
How to Install JavaFX with openjdk-11-jdk? [duplicate]
I am trying to build this jlink demo with Java 11.
I installed the OpenJDK 11.
The build process fails when it attempts to link against javafx.
I think I have the javafx packages installed:
> ...
24
votes
5
answers
91k
views
JavaFX missing, Ubuntu 18.04
I have Java 8 and Ubuntu 18.04. I'm using NetBeans and when tried to make some program, it couldn't be done because JavaFX is missing.
I installed Java JDK with NetBeans from Oracle's site and ...
1
vote
2
answers
2k
views
Openjfx 11 after 18.10 upgrade
I'm developing an application that needs JavaFX.
This week I upgraded to Ubuntu 18.10 and saw that the default version of OpenJDK is 11 and therefore the OpenJFX version is also 11.
The "cosmic" ...
0
votes
1
answer
13k
views
JAVAFX_HOME path on ubuntu
So my problem is openjfx and using it on Scala-sbt project. The actual problem is JAVAFX_HOME path.
First of all I have java version 10.0.2 installed on my computer and openjfx (which I take as JavaFX)...
1
vote
0
answers
233
views
Upgrading Ubuntu 18.04.1 disabled JavaFX?
I just upgraded to 18.04.1 and trying to adjust to the changes. One huge issue I'm having is that opening a java application, the Ardor client, I get the error "JavaFX not supported". I tried to ...
1
vote
0
answers
704
views
JavaFX missing in KUbuntu 18.04
I have have Kubuntu 18.04 installed and I use the default jdk which says version 11 in the repositories but 10 when using java -version command.
However, I cannot run JavaFX application because it's ...
5
votes
1
answer
2k
views
Under Ubuntu 18.04 my Java 10 application doesn't scale with the screen
I am programming a Java 10 application using JavaFX for the UI.
Under Ubuntu 16.04 the application was sized appropriately. Under 18.04 suddenly the application is scaled to half its size. I need to ...
7
votes
1
answer
2k
views
How to install Java9 with JavaFX?
I installed Java9 as described here. This works without any problems for any projects I tried without JavaFX. Unfortunately my company runs its UIs with JavaFX and those packages seem to be missing.
...
4
votes
1
answer
3k
views
How to install libavcodec53 and libavformat53 so that I can use JavaFx in Ubuntu 16.04
I want to use JavaFX in Ubuntu. According to this link, I have to install libavcodec53 and libavformat53. I googled and came across sites like this, which suggests to use
sudo apt-get update
sudo apt-...
1
vote
1
answer
1k
views
I can't launch Scene Builder
I recently started JAVAFX, so I got SceneBuilder to help... but I can't it launch after installation and reinstallation.
It prints
segmentation fault (core dumped)
as an error when I try to run ...
0
votes
1
answer
2k
views
Scene builder does not open in ubuntu 17.04?
When I open scene builder using eclipse. it is not opening why I do not know. I got the following error. please give me a suggestion.
I showed installed path of scene builder in eclipse. window->...
1
vote
1
answer
3k
views
How to setup Eclipse and Java JDK w/ Java-FX
I'm really new to Ubuntu and I'm trying to get set up. I've tried installing Eclipse via the store application but that one seems really outdated.
Next I'm trying to install Java SDK and I'm really ...
8
votes
1
answer
8k
views
JavaFX for Ubuntu 16.04 not installed
I tried to install javafx for ubuntu as described in the answer here but the libraries it mentions were not added to my jdk folder after the installation.
Specifically only the ant-javafx.jar is added....
0
votes
2
answers
4k
views
Help with installing jre-8u101-linux-x64
I want to install the proprietary version of java. Thus, I went to their website and followed their instructions here http://java.com/en/download/help/linux_x64_install.xml.
Quite simply it says to:
...