Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Installing e(fx)clipse - what am I missing?
Installing e(fx)clipse - what am I missing? [message #1723645] Wed, 17 February 2016 03:56 Go to next message
Reinhardt Christiansen is currently offline Reinhardt ChristiansenFriend
Messages: 36
Registered: March 2010
Member
I'm interesting in trying Java F/X to see if I like it better than Swing.

I found these instructions for adding e(fx)clipse to my existing copy of Eclipse (Mars Version 4.5.1 on Windows 10 Home): https://www.eclipse.org/efxclipse/install.html#for-the-lazy and followed them as closely as I could. I didn't get the variety of different bundles for Kepler, Indigo, etc. that the instructions predicted for the "e(fx)clipse - install" option so I just installed the sole bundle that appeared in that category. I completed the wizard and saw no installation errors. I restarted Eclipse as instructed.

I still can't get my F/X HelloWorld to compile. Basic classes like Application, Stage, EventHandler, StackPane and Scene are not recognized.

What additional step(s) do I have to do to get my classes to compile and run correctly?
Re: Installing e(fx)clipse - what am I missing? [message #1723676 is a reply to message #1723645] Wed, 17 February 2016 08:05 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6320
Registered: July 2009
Senior Member
Hi,

Right we abonded Luna and Kepler since a long time. I'll fix the page to
reflect that.

On your very problem. Is your project pointing to a JDK8-Install? Some
screen shots (including your project structure) might help to understand
what's going wrong.

Tom

On 17.02.16 04:56, Reinhardt Christiansen wrote:
> I'm interesting in trying Java F/X to see if I like it better than Swing.
> I found these instructions for adding e(fx)clipse to my existing copy of
> Eclipse (Mars Version 4.5.1 on Windows 10 Home):
> https://www.eclipse.org/efxclipse/install.html#for-the-lazy and followed
> them as closely as I could. I didn't get the variety of different
> bundles for Kepler, Indigo, etc. that the instructions predicted for the
> "e(fx)clipse - install" option so I just installed the sole bundle that
> appeared in that category. I completed the wizard and saw no
> installation errors. I restarted Eclipse as instructed.
> I still can't get my F/X HelloWorld to compile. Basic classes like
> Application, Stage, EventHandler, StackPane and Scene are not recognized.
> What additional step(s) do I have to do to get my classes to compile and
> run correctly?
Re: Installing e(fx)clipse - what am I missing? [message #1723736 is a reply to message #1723676] Wed, 17 February 2016 13:29 Go to previous messageGo to next message
Reinhardt Christiansen is currently offline Reinhardt ChristiansenFriend
Messages: 36
Registered: March 2010
Member
You were right, Thomas, I had both a JDK-7 and a JDK-8 installed on this computer but was inadvertently pointing at the JDK-7.

I changed to point at the JDK-8 and restarted Eclipse but I still have the errors. I've included a few screen caps to show you what is going on. I'm happy to acquire others if these aren't sufficient.
  • Attachment: efx-01.png
    (Size: 137.99KB, Downloaded 133 times)
  • Attachment: efx-02.png
    (Size: 35.97KB, Downloaded 80 times)
  • Attachment: efx-03.png
    (Size: 27.69KB, Downloaded 79 times)
  • Attachment: efx-04.png
    (Size: 57.50KB, Downloaded 72 times)
  • Attachment: efx-05.png
    (Size: 28.12KB, Downloaded 86 times)
Re: Installing e(fx)clipse - what am I missing? [message #1723738 is a reply to message #1723736] Wed, 17 February 2016 13:49 Go to previous message
Reinhardt Christiansen is currently offline Reinhardt ChristiansenFriend
Messages: 36
Registered: March 2010
Member
Thomas, I found my problem. All I had to do was a CTRL-SHIFT-O and select the appropriate packages from the lists. All the error annotations are gone and the HelloWorld application works fine now.

I haven't used Eclipse much in a while so I've gotten rusty Smile I wouldn't have made such silly mistakes if I hadn't been so rusty.

Thanks for your help!
Previous Topic:FXMLBuilder StackOverflowError
Next Topic:Dnd on ResourceTreeViewer
Goto Forum:
  


Current Time: Sun Jun 25 20:59:08 GMT 2017

Powered by FUDForum. Page generated in 0.08090 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software