nikifaets
nikifaets

Reputation: 21

Processing exported project requires java runtime enviroment when I already have one

I am working on a project on Processing and when I export the project and try to run it, it says that Java Runtime Enviroment is required. I have JRE 1.8.0_121 which is newer than the required one so i guess it shouldn't be problematic. I installed JDK but nothing changed. The project runs only when I export the project embedded for windows 64-bit (and then it doesn't let me delete it because some java processes appear). I have also tried updating the system variables JAVA_HOME and JRE_HOME. Any help and ideas will be appreciated ^^

Upvotes: 0

Views: 681

Answers (2)

Kevin Workman
Kevin Workman

Reputation: 42174

The JAVA_HOME and JRE_HOME variables don't matter in this case.

The only thing that matters is your PATH variable.

So you need to check what's on your PATH.

  • What happens when you type java -version in a command prompt?
  • What is currently on your path? Watch out for other versions of Java that have already been added!

If you still can't get it working, try running the executable from the command prompt so you can see exactly what error you're getting.

You might also try uninstalling (make sure you delete the settings directories as well) and reinstalling Processing.

Upvotes: 0

nikifaets
nikifaets

Reputation: 21

The problems just disappeared when I reinstalled Processing.

Upvotes: 1

Related Questions