User 7bdb8e43f2
25-11-2009 10:44:27
Server OS Win2008 R2 64bit
Oracle version 10.2.0.4
I am having problems installing on this machine.
I have downloaded the jchem-5_2_06-windows_with_jre distribution and run it successfully.
However when running the install-interact.bat script I stop at:
INFO: Checking JChem Server at localhost:1099...
====> JChem Server is configured to run on localhost. Please, start JChem Server
on localhost. Press <Enter>, when started.
I have set the JAVA_HOME to the JRE installed with your distribution.
Running server.bat start gives:
C:\Program Files (x86)\ChemAxon\JChem\cartridge>server.bat start
C:\Program Files (x86)\ChemAxon\JChem\cartridge>"C:\Program Files (x86)\ChemAxon\JChem\jre\bin\java.exe" -server -Xrs -XX:-OmitStackTraceInFastThrow -Dchemaxon.jchem.cartridge.config.file="C:\Program Files (x86)\ChemAxon\JChem\cartridge\\conf\jcart.properties" -Djava.util.logging.config.class=chemaxon.jchem.cartridge.util.LoggingConfigurator -Djava.awt.headless=true -classpath "C:\Program Files (x86)\ChemAxon\JChem\lib\jchem.jar" Chemaxon.jchem.cartridge.server.Bootstrapperstart Error: no `server' JVM at `C:\Program Files (x86)\ChemAxon\JChem\jre\bin\server\jvm.dll'.
C:\Program Files (x86)\ChemAxon\JChem\cartridge>
Should I set some other JAVA_HOME path?
User 7bdb8e43f2
25-11-2009 10:51:38
By the way. At first I did try downloading both a JRE and JDK som Sun and point towards them when installing but the JCHEM installer refused to see the JAVA_HOME.
I suspect that was some 64bit issue. Are there any special conditions to install on a 64bit architecture? 32bit dependencies from JCHEM for instance?
ChemAxon aa7c50abf8
25-11-2009 13:31:36
I will check if this is a bug. In the meantime, you can try and do what the message says:
1. open a new command prompt window
2. Navigate to the jchem/cartridge directory.
3. execute: server.bat start
4. go back to the first command prompt window and press enter.
Let me know if this helps.
Peter
User 7bdb8e43f2
25-11-2009 13:46:48
Thank you for your reply.
Manually starting the server gives the second error I posted. Root cause beeing that:
no `server' JVM at `C:\Program Files (x86)\ChemAxon\JChem\jre\bin\server\jvm.dll'.
If I look into the folder there is no /server/jvm.dll.
As a workaround I copied the jre\bin\client folder and renamed the copy \jre\bin\server. This made the installation continue.
In the beginning I also downloaded a JRE from Sun but if I set up a 64bit JRE things did not work. Does JCHEM require a 32bit environment?
ChemAxon aa7c50abf8
25-11-2009 14:07:20
User 7bdb8e43f2
25-11-2009 14:13:10
Ok. So the distribution you have with "Windows Installer with Java" actually does not install the Java needed?
When I install the JDK I get the same behaviour. No /server folder under bin. However creating one and putting the jvm into it works.
I notice now that I never got a Windows service installed for JCHEM on my machine. Is there a command for performing this post installation or do I need to start over?
User 7bdb8e43f2
25-11-2009 14:19:29
pkovacs wrote: |
No. 64-bit should be fine.
|
I rolled back my snapshot of the server and tried again.
If I install the JDK (jdk-6u17-windows-x64) and point the JAVA_HOME to it, the JCHEM installer refuses to start. It states it cannot find the runtime.
If I instead install a 32bit JDK (jdk-6u17-windows-i586) and point the JAVA_HOME to it. Things go through if I make a /server folder manually.
No Windows Service created tough so I have to start the server manually.
ChemAxon aa7c50abf8
25-11-2009 14:39:51
The JCHEM installer's inability to start is a separate issue. Please, open a separate topic for that problem.
What I think is likely to work is (if you absolulately want to use the JChem installer -- though I am not sure if it does anything indispensable):
1. Start the JChem installer in whatever way you managed to do it the first time (by unsetting the JAVA_HOME environment variable?)
2. After the JChem installer successfully completed set the JAVA_HOME variable to a (64-bit)
JDK and restart the JChem Cartridge installation.
Let me know if this helps.
Peter
User 7bdb8e43f2
25-11-2009 15:03:14
pkovacs wrote: |
The JCHEM installer's inability to start is a separate issue. Please, open a separate topic for that problem.
What I think is likely to work is (if you absolulately want to use the JChem installer -- though I am not sure if it does anything indispensable):
1. Start the JChem installer in whatever way you managed to do it the first time (by unsetting the JAVA_HOME environment variable?)
2. After the JChem installer successfully completed set the JAVA_HOME variable to a (64-bit) JDK and restart the JChem Cartridge installation.
Let me know if this helps.
Peter
|
1.
The only way I get the JChem installer to run is to download the one with an embedded JRE. Probably was the installer that had a 32bit dependency.
2.
This helped. The order of actions I used now was:
- Download and install 64bit JDK
- Download and install JChem with JRE Bundle
- Set JAVA_HOME to the 64bit home
- Run install-interact
I also got a Service created as expected this time round.
Thank's for the pointers Peter.