Why is it that most Java code cannot run on this platform | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why is it that most Java code cannot run on this platform

Java

17th Dec 2019, 9:46 AM
Nweke Godswill
Nweke Godswill - avatar
9 Answers
+ 4
What code? yours or other people's? can you pass the link(s) so anyone reading this can verify? FYI GUI codes will not run on Code Playground.
17th Dec 2019, 9:51 AM
Ipang
+ 3
It works, provided you give all the input at once and separate them by giving each of them on a new line.
17th Dec 2019, 1:13 PM
Avinesh
Avinesh - avatar
+ 2
Its because your device does not have GUI toolkit, same with python tkinter and kivy wont run
17th Dec 2019, 9:54 AM
Samuel Mkandawire
Samuel Mkandawire - avatar
+ 2
Maybe due to missing libraries?
19th Dec 2019, 6:46 AM
Sonic
Sonic - avatar
+ 1
Do you think there is any solution to that @ Samuel.
17th Dec 2019, 9:59 AM
Nweke Godswill
Nweke Godswill - avatar
+ 1
If you mean the next() methods then you are right. But, that's a common problem with java and not just SL. Sometimes you need to add one extra .next() to buffer between the inputs.
18th Dec 2019, 7:29 PM
Jalal M ⁦🇧🇭⁩
Jalal M ⁦🇧🇭⁩ - avatar
+ 1
You can't run anything with Swing here because there is no graphical support other than for the web languages.
19th Dec 2019, 6:47 AM
Sonic
Sonic - avatar
0
Actually when it come to gui programming i just have other apps to run my code like pydroid for python and Cxxdroid for C++
17th Dec 2019, 10:01 AM
Samuel Mkandawire
Samuel Mkandawire - avatar
0
I noticed that simple codes that can accept two user inputs and work with the inputs to give out result does not work in this platform with Java.
17th Dec 2019, 10:02 AM
Nweke Godswill
Nweke Godswill - avatar