Page 1 of 1

Terminal printing over JavaFX application

Posted: Tue Nov 06, 2018 5:37 pm
by sti94
Hi guys I'm new to Raspberry coding, for my three year thesis I'm writing a twitter wall application in javafx to be runned on a Raspberry Pi Model B+ v1.2.
I programmed it in eclipse neon under windows 10 and everything works correctly there, but when i moved the .jar on the raspberry initially it wasn't working at all. After a bit of googling i finally managed to make it work, i was on Raspbian Stretch with Desktop at that time and I only installed Gluon JavaFX Embedded SDK on my raspberry. After that the application started to run, a bit lagging and there was a problem with the input devices (which for me isn't really a problem because my app doesn't need any input from the user). The major issue is that whenever the app prints something on the terminal it shows up over the javafx app covering it.
After that i tried to install Raspbian Stretch Lite and after some steps i managed to make the app works, but with the same issue.
To make it works on Raspbian Stretch Lite i installed jdk8, gluon javafx sdk and xwindows (via sudo apt install xorg libgtk2.0-0).

I make a video of it to show you clearly what is the problem: (you can skip to 1 minute to see the issue)
https://drive.google.com/file/d/1EyvdpL ... e5T3go3-up

Hope someone can help me, thanks!

Re: Terminal printing over JavaFX application

Posted: Wed Feb 05, 2020 5:11 pm
by Simt'pal
Were you able to find a solution ?

Re: Terminal printing over JavaFX application

Posted: Thu Feb 06, 2020 10:06 pm
by sti94
No, unfortunately i never found a solution.

Re: Terminal printing over JavaFX application

Posted: Fri Feb 07, 2020 3:54 pm
by knute
Post an SSCCE and I'll look at the problem for you.

Re: Terminal printing over JavaFX application

Posted: Wed Mar 11, 2020 8:01 pm
by Simt'pal
We were able to fix this issue by changing the default console output to console=tty3 and consoleblank=0 in /boot/cmdline.txt to