summaryrefslogtreecommitdiffstats
path: root/src/bind/javabind.cpp
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2008-05-29 19:15:08 +0000
committerishmal <ishmal@users.sourceforge.net>2008-05-29 19:15:08 +0000
commit22e5131176ae8ca14aebb445203144fba3d1dfc9 (patch)
tree038f531ff71e2e0a1805c3d27cfb053d54a3bbff /src/bind/javabind.cpp
parentfix some crashes. Now I check for the existence of the d atrtibute (diff)
downloadinkscape-22e5131176ae8ca14aebb445203144fba3d1dfc9.tar.gz
inkscape-22e5131176ae8ca14aebb445203144fba3d1dfc9.zip
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)
Diffstat (limited to 'src/bind/javabind.cpp')
-rw-r--r--src/bind/javabind.cpp6
1 files changed, 5 insertions, 1 deletions
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");
}