detecting java sdk intellij on linux

Answered

Currently on ubuntu 17.10 and im trying to set up my project again and it needs 1.8 java sdk.

 

But when i check in my usr/bin folder it says nothing is in there. i ran java -version its 1.8.0_162.

 

Pretty sure its in there...

 

Im still working my way around here though..on linux ofcourse.

0
2 comments
Avatar
Permanently deleted user

Update, got it to pick up jdk-8

 

but new issue now when trying to build...

Error:(20, 1) java: package javafx.scene.input does not exist
Error:(28, 26) java: package javafx.application does not exist
Error:(29, 26) java: package javafx.application does not exist
Error:(30, 19) java: package javafx.fxml does not exist
Error:(31, 20) java: package javafx.scene does not exist
Error:(32, 20) java: package javafx.scene does not exist
Error:(33, 27) java: package javafx.scene.layout does not exist
Error:(34, 27) java: package javafx.scene.layout does not exist
Error:(35, 20) java: package javafx.stage does not exist

[code]

sudo apt-get install openjfx

[/code]

was used to get the openjfx, but it still doesnt work.

 

installed and since they are in the java folder shouldnt the IDE detect that since the classpath loaded it already?

0

Please sign in to leave a comment.