Need Help with Unity Java Script Error

I’m going through some simple tutorials online about scripting in unity using Java. When I try and open the Java script file I run into this “error”.


As far as I know I have updated everything I can on my computer. I’m not entirely sure what this message wants me to do so if anyone can help it would be greatly appreciated.

You have the JRE and JDK?

No I don’t think I do. I didn’t know that I had to download those separate from the standard Java. Thanks.

I have now installed both of those programs and the same error message occurs. Does anyone know why?

I forgot to mark this as unsolved…

Isn’t Unity C#? I haven’t ever used it, but some of my students have played a bit.

It looks like you’re missing the .net framework, or at least the version Unity is looking for.

Sorry I forgot to reply to this :frowning:

Here is the link for the JRE and JDK:
http://www.oracle.com/technetwork/java/javase/downloads/index.html

The JRE is the “Java Runtime Environment”, which is what is used to run java applets. You should already have some version of this on your computer.
The JDK is the “Java Development Kit”, which you need to develop java applications and applets.

Some applications that use Java need these to run properly.

Unity Is both C# and JavaScript. JavaScript is NOT Java. JavaScript is a scripting language for websites. Its also used for web OS. There should not be a problem. You open the JavaScript file in Unity.