Gabriel95 / scalafx

Automatically exported from code.google.com/p/scalafx
Other
0 stars 0 forks source link

Can't compile/run Play 2 with ScalaFX in IntelliJ - probaly nothing to do with IntelliJ though! #93

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a play project and add IntelliJ support (that's my environment but 
the issue might be general) 
2. Create a package like "assets.ScalaFX"
3. Add a scala object "hello.world" and add some example code to the world 
object that initialises a ScalaFX App and a new stage for example with 
"JFXApp.PrimaryStage" (make sure that your code is correct!)
4. 

What is the expected output? What do you see instead?

I expect it to compile without errors when I do "play ~run" and instead I get 
compile errors. 

For example if Play was already running refreshing the page will give an error 
starting with "bad symbolic reference. A signature in Stage.class refers to 
term javafx in package <root> which is not available."

What version of the product are you using? On what operating system?

Scala 2.10.2, ScalaFX 2.10-1.0.0-M4 on Linux Mint

Original issue reported on code.google.com by yoe...@gmail.com on 27 Sep 2013 at 10:20

GoogleCodeExporter commented 8 years ago
Did you setup your JAVA_HOME environment variable pointing to Java installation?
Can you run Java typing: $JAVA_HOME/bin/java -version
What version do you see?

Original comment by jpsacha on 29 Sep 2013 at 3:24

GoogleCodeExporter commented 8 years ago
Caused most likely by incorrect setup, missing JAVA_HOME environment variable.

Original comment by jpsacha on 11 Oct 2013 at 4:16

GoogleCodeExporter commented 8 years ago

Original comment by jpsacha on 22 May 2014 at 1:13