server.exe on 32bit and 64bit Windows

#1

Is the server.exe compatible to start the objectdb server on Windows 64bit OS?  Or 32bit only?

 

#2

It should work on both. If it doesn't - please provide more details.

ObjectDB Support
#3

The problem is that it cannot start because it cannot find the jvm on the 64bit install

Java 7 is correctly installed with JAVA_HOME and JRE_HOME set.

 The temporary workaround was to create a .bat file with the following command:

"C:\Program Files\Java\jdk1.7.0\bin\java" -server -Xms16M -Xmx256M -cp "objectdb.jar" com.objectdb.Server start

 

The OS is Windows Server 2008 R2  64bit

Have you tested server.exe on this environment?

see attached screen prints

 

#4

It seems that explorer.exe and server.exe try to locate a win32 JVM (also on Windows 64) and if only a win64 JVM is available - they fail. Your workaround is good. You may also try installing win32 JVM in addition to the win64 JVM.

This will be fixed in one of the next builds. Thank you for your report.

ObjectDB Support
#5

Build 2.3.4_03 includes new explorer.exe and server.exe that should work well on Windows 7 and in Windows 64 bit.

ObjectDB Support
#6

I just tried this new version but it doesnt work for me. I have Windows 64bit with JAVA as you can see below. The version objectdb-2.3.4_02.zip works fine, but the new one objectdb-2.3.4_03.zip claims that JVM cannot be found when running server or explorer.

C:\>java -version
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02, mixed mode)

#7

Starting build 2.3.4_03 explorer.exe and server.exe are based on winrun4j.

Could you please write the exact error message? Which operating system do you use?

In addition, according to winrun4j documentation you may specify the path to the JVM in explorer.ini and server.ini files (in the directory of explorer.exe and server.exe), where each file has a single text line:

vm.location=C:\Program Files\Java\jdk1.6.0_29\jre\bin\server\jvm.dll

Notice that the specified path is to the jvm.dll file. Please try it.

ObjectDB Support
#8

1. Trying again without explorer.ini. ... getting message box with text: "Failed to find Java VM"

2. Trying with explorer.ini with line vm.location=c:\jdk16\jre\bin\server\jvm.dll  .... getting message "Error starting Java VM"

 

I'm running Windows7 Prof. 64bit 

#9

Build 2.3.4_04 includes both:

  • The new exe: server.exe, explorer.exe.
  • The old exe: server_.exe, explorer_.exe.

Please try again server.exe and explorer.exe. They have been tested successfully on Windows 7 Pro 64. But if they still do not work - you will have to use the old server_.exe and explorer_.exe until the source of the problem is found.

ObjectDB Support
#10

Just tried, the versions with underscore in name are running fine, versions without have the same problem as reported earlier.

David

#11

OK. Thanks for the update.

If this is a problem in winrun4j it will probably be solved in their future releases.

Meanwhile both versions (old and new) will be included.

ObjectDB Support

Reply