From 22e5131176ae8ca14aebb445203144fba3d1dfc9 Mon Sep 17 00:00:00 2001 From: Bob Jamison Date: Thu, 29 May 2008 19:15:08 +0000 Subject: Create a new macro in path-prefix.h, WIN32_DATADIR, that works similarly to BR_DATADIR. This should solve the "current directory" problems. This is a temporary fix. (bzr r5762) --- src/bind/javabind.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/bind/javabind.cpp') diff --git a/src/bind/javabind.cpp b/src/bind/javabind.cpp index af287dc7e..7185330e8 100644 --- a/src/bind/javabind.cpp +++ b/src/bind/javabind.cpp @@ -479,10 +479,14 @@ static CreateVMFunc getCreateVMFunc() */ static void getJavaRoot(String &javaroot) { - javaroot = getExePath(); + /* + javaroot = getExePath(); javaroot.append("\\"); javaroot.append(INKSCAPE_BINDDIR); javaroot.append("\\java"); + */ + javaroot = INKSCAPE_BINDDIR; + javaroot.append("\\java"); } -- cgit v1.2.3