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.

Filter by
Sorted by
Tagged with
1
vote
1answer
76 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
1answer
70 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
1answer
77 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
0answers
34 views

Unable to select updates for JavaFX/OpenJFX in Software Center

whenever there is an update, these two security updates show up and I can't select them. Java version is already up to date.
0
votes
1answer
59 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 ...
0
votes
1answer
509 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
1answer
196 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
0answers
44 views

JavaFx is not working in Ubutu 18.04

So today I start learning some basics of JavaFx and I got to know that default java doesn't come with JavaFx . So I installed it using this command "sudo apt install openjdk-11-jdk openjfx" But when I ...
1
vote
0answers
35 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
0answers
454 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
1answer
305 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 ...
0
votes
1answer
187 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
1answer
640 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
1answer
2k 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 ...
0
votes
0answers
34 views

Add javafx to already installed java

I want to add javafx to already installed java. Java is installed here: user@user:/usr/share/java$ cat $JAVA_HOME cat: /usr/lib/jvm/java-1.11.0-openjdk-amd64: Is a directory An app which needs to ...
0
votes
1answer
1k 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
0answers
728 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 ...
0
votes
0answers
148 views

Run java 8 and javafx on Ubuntu

I've tried to run Java Fx in Eclipse but nothing works. I was using java 8 so I tried installing java 11, but it was the same. I've just read that there was a bug in Ubuntu so Javafx wasnt working. ...
4
votes
2answers
353 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
0answers
109 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
1answer
1k 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: ...
4
votes
2answers
7k 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. ...
7
votes
3answers
27k 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
0answers
180 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
0answers
652 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
1answer
10k 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
0answers
233 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
1answer
644 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
0answers
2k 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
1answer
943 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
1answer
15k 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: > ...
22
votes
4answers
58k 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
1answer
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
1answer
7k 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 ...
1
vote
0answers
228 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
0answers
663 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 ...
3
votes
1answer
903 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 ...
0
votes
0answers
554 views

How to run a JavaFX program on Ubuntu 17 [duplicate]

So I am in a group project that requires us to create a JavaFX GUI. My group and I are using gradle to deal with compiling our code. I have been able to compile the code, but I have errors running it. ...
7
votes
0answers
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
1answer
2k 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
1answer
777 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
1answer
1k 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
1answer
2k 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 ...
7
votes
1answer
7k 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
2answers
3k 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: ...
1
vote
1answer
6k views

Howto install latest Oracle Java JDK (32-Bit) to Linux Xubuntu 14.04 (64-Bit) easiest way [duplicate]

I have managed to install the latest Openjdk version of Java JDK via :i386 suffix so far. But my JavaFX app depends on the Oracle JDK to run properly I have only successfully installed the 64-Bit ...
0
votes
1answer
259 views

Running Spark with Java 6

I'm stuck at this stage. I am trying to install Spark. I installed Java 6 and Scala 2.11.6. Installing Spark displays the error shown below: Exception in thread hand java.lang....
1
vote
2answers
178 views

How to doubleclick a Java Jar and start it without sudo

My current Situation: my pc is running Xubuntu 16.04 a java jar app on Xubunutu desktop a USB thermal printer (Model: DigiPOS 920) is connected via USB to my pc the java app talks to the thermal ...
14
votes
2answers
1k views

Global Menu for JavaFX Applications

I know that we can enable global menu for Java Swing applications using Jayatana. But I am searching for global menu support for JavaFX applications. After searching on it, I have found that ...
6
votes
2answers
26k views

Install JavaFX scene builder 2.0 on Ubuntu 14.10

I am beginning my work on a JavaFX application for which I am using Intellij Idea ide. I have Java 8 installed on my system and I can see JavaFXSceneBuilder 1.1 in my system installed. But as I read ...