Cant build javafx files

  9 posts   Feedicon  
Replies: 8 - Last Post: February 16, 2009 12:44
by: jakub
showing 1 - 9 of 9
 
Posted: December 12, 2008 15:57 by wangzx
I am exciting to hear this plugin.

But when i try the plugin, it does not works on my eclipse, following the help documents, we can install the plugin, and creating a project with JavaFX nature, and setting the JavaFX SDK home, and create a Empty Script.

but then, the script failed on build, and "Problem" view shows

???? java.lang.Object
??? java.lang.Object ???? HelloWorld.fx demo.javafx/src/demo line 1 JavaFX Problem

Since it is represents in chinese, the meaning in english maybe:
Can't access java.lang.Object, Can'f find java.lang.Object's class file

Can you tell me what is the problem? and how can i resolve it?

Thanks
 
Posted: December 15, 2008 01:19 by stemkev
I see the same error sometimes even with normal Java projects.

I've always been able to fix it by removing the JRE system library from the project's build path and adding it straight back in again.


 
Posted: December 15, 2008 12:23 by wangzx

Following your steps, I found that the errors disappeared but the compile was not done at all. no class file on the output directory.

Can mryzl give us some ideas on this error? It looks that the problem occurs on most JDK environment.

Also, Is there any roadmap for this plugin?

 
Posted: December 16, 2008 15:42 by Martin Ryzl
I'm trying to reproduce the problem but so far I have no idea what the problem could be.
 
Posted: December 12, 2008 20:57 by Martin Ryzl
It may be related to the non-ascii characters in the path. It would help if you give us more details, for instance exact paths.
 
Posted: December 13, 2008 00:38 by wangzx
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="com.sun.javafx.eclipse.core.classpath.SDKClasspathContainer"/>
<classpathentry kind="output" path="bin"/>
</classpath>

the project's dir is E:\eclipse\erlang\workspace\demo.javafx
the JavaFX SDK is d:\JavaFX\javafx-sdk1.0
the JDK is d:\Java\JDK1.6.0_11

It looks that all path is in ascii format without other code.
 
Posted: December 18, 2008 01:25 by wangzx
It looks that this project is not much active.

 
Posted: January 08, 2009 16:34 by David Kaspar
Hi,

Your classpath seems to be OK. It seems to be related to the classpath of the JavaFX SDK... Could you check:
1) whether you have JavaFX_HOME variable set correctly in the Eclipse IDE.
2) Also check which profile are using... See YourProject node | Project Properties | Java Build Path | Libraries | double-click-on-"JavaFX SDK" item.
3) Are you running the JavaFX application using "JavaFX Application" run configuration?

Regards,
David
 
Posted: February 16, 2009 12:44 by jakub
I managed to fix the problem - at least on my computer.

http://kenai.com/projects/eplugin/forums/forum/topics/309-Can-t-resolve-errors?

I mean the post from February 16, 2009 12:36
showing 1 - 9 of 9
Replies: 8 - Last Post: February 16, 2009 12:44
by: jakub
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close