summaryrefslogtreecommitdiffstats
path: root/src/bind/javabind.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bind/javabind.cpp')
-rw-r--r--src/bind/javabind.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bind/javabind.cpp b/src/bind/javabind.cpp
index b142efd54..4314f8819 100644
--- a/src/bind/javabind.cpp
+++ b/src/bind/javabind.cpp
@@ -413,7 +413,8 @@ static void getJavaRoot(String &javaroot)
*slashPos = '\0';
javaroot = exeName;
javaroot.append("\\");
- javaroot.append(INKSCAPE_JAVADIR);
+ javaroot.append(INKSCAPE_BINDDIR);
+ javaroot.append("\\java");
}
@@ -552,7 +553,8 @@ static CreateVMFunc getCreateVMFunc()
static void getJavaRoot(String &javaroot)
{
- javaroot = INKSCAPE_JAVADIR;
+ javaroot = INKSCAPE_BINDDIR;
+ javaroot.append("/java");
}
#endif /* !__WIN32__ */