Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Build a JavaFX Application Design a Better App Add a node via FXML

Solomon Alexandru
Solomon Alexandru
3,633 Points

Problem with the compiler?

I'm struggling with this exercise. The compiler seems to get crazy after I entered the asked code. "Bummer! java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: No toolkit found (Look around WaitForAsyncUtils.java line 150)"

3 Answers

Craig Dennis
STAFF
Craig Dennis
Treehouse Teacher

Looking into this...will keep you updated. Problem with a missing library on the server that I am using to test.

Sorry for the frustration!

Lucas Pendley
Lucas Pendley
21,113 Points

Thank you for looking into this Craig

Javi Venti
Javi Venti
13,030 Points

I think the problem is that the server that grades the exercise has the wrong JDK installed. On my local machine I had the same problem. I downloaded the Linux x86 JDK and my pc runs on linux x64.

Changing the JDK worked on my local machine, I hope the solution is as simple as that :P

Solomon Alexandru
Solomon Alexandru
3,633 Points

Thanks Javi, but it works without problems on my local machine. On the online compiler it keeps getting this error, I observed that it does that only when I use Lambda

Craig Dennis
STAFF
Craig Dennis
Treehouse Teacher

This should be solved, let me know if you have any more issues!