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

hsin Yang
hsin Yang
1,014 Points

java.lang.RuntimeException: javax.script.ScriptException:

I was trying to write a code on imagej but the runtime error show up

javax.script.ScriptException: Class My_Plugin in invalid directory: C:\Users\User\Desktop\My_Plugi.java

Can anyone help me with this? I tried "try and catch" block but could not solve the problem

3 Answers

Fahad Mutair
Fahad Mutair
10,359 Points

Because you're trying to run My_Plugin.java But your class name My_Plugi.java different name you have missed letter n

hsin Yang
hsin Yang
1,014 Points

I try to fix the problem but still doesn't work out..

hsin Yang
hsin Yang
1,014 Points

the problem in fiji is that " java jar not found " by any chance you know how to fix this problem?