JChem 5.3.3 installation problem

User 870ab5b546

21-05-2010 19:43:24

I thought the -c option was supposed to allow the installer to work in console mode?


bob@epoch:aceorg$ sh -c ./jchem-5_3_3-linux.sh
Starting Installer ...
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1000)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1345)
at com.install4j.runtime.installer.Installer.getScreenExecutor(Unknown Source)
at com.install4j.runtime.installer.Installer.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.install4j.runtime.Launcher.main(Unknown Source)
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
at java.awt.Button.<init>(Button.java:152)
at java.awt.Button.<init>(Button.java:139)
at com.install4j.runtime.installer.frontend.WizardScreenExecutor.initAWT(Unknown Source)
at com.install4j.runtime.installer.frontend.WizardScreenExecutor.<init>(Unknown Source)
at com.install4j.runtime.installer.frontend.InstallerWizardScreenExecutor.<init>(Unknown Source)
at com.install4j.runtime.installer.Installer$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:216)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:602)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Could not display the GUI. This application needs access to an X Server.
If you have access there is probably an X library missing.
*******************************************************************
You can also run this application in console mode without
access to an X server by passing the argument -c
*******************************************************************
An error occurred:
java.lang.RuntimeException
Error log: /tmp/install4jError711721328496212081.log

ChemAxon e500b51457

24-05-2010 08:34:07

Hello,

We have a long weekend due to our national holiday here, but my colleagues will answer you soon.

Regards,
Erika.

ChemAxon 7c2d26e5cf

26-05-2010 14:54:21

I could not reproduce the problem.


Console mode installation of JChem has been completed for me without any error message.


I have tested it on a Debian machine without gui.


sh ./jchem-5_3_3-linux.sh -c


Can you give more details about the software environment where this problem is occured?


Anyway, giving "-c" option before the script name is not good. The "-c" option is the parameter of the installer script (not the shell).

User 870ab5b546

26-05-2010 15:37:02

That was the problem.  I misplaced the -c.  It installs now.  Thanks.


When you give your installation instructions, you might choose to be more explicit about the commands that the users should enter.

ChemAxon 7c2d26e5cf

26-05-2010 17:11:24

Thanks for the feadback. We will improve the installation instruction document.