Skip to content

Loading…

Crash on starting project #109

Closed
Tjorriemorrie opened this Issue · 2 comments

2 participants

@Tjorriemorrie

on windows8 enterprise 64

error

@paulrdukes

It's looking for Java. Do you have Java? If you looki the process_interaction.js you'll see on line 11 it's tyring to call this function

function javaDir() {
if(air.Capabilities.os.match(/Windows/)) {
path = air.File.applicationDirectory.resolvePath("C:\\Program Files\\Java\\jre7\\bin\\java.exe");
if(!path.exists){
path = air.File.applicationDirectory.resolvePath("C:\\Program Files (x86)\\Java\\jre7\\bin\\java.exe");
if(!path.exists){
path = air.File.applicationDirectory.resolvePath("C:\\Program Files\\Java\\jre6\\bin\\java.exe");
}
}
return path;
} else {
return air.File.applicationDirectory.resolvePath("/usr/bin/java");
}

You're most likely getting the error because you either moved Java, or it's not installed. Install it or put it in one of those listed directories and everything should work fine.

@Tjorriemorrie

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.