Runtime error during startup

Having trouble installing Oxygen? Got a bug to report? Post it all here.
tmp2023
Posts: 2
Joined: Tue Apr 25, 2006 7:05 pm

Runtime error during startup

Post by tmp2023 »

HI,
every time I start Oxygen XML Editor this error occurs

----------------------------------------------------------------
Cannot start <oXygen/>.
Due to:java.lang.RuntimeException
The preferences directory: \\CERNHOMEK.CERN.CH\Desktop_K/Applicati ... .oxygenxml
cannot be accessed !/n Please check the read/write access on that folder and its ancestors !.
java.lang.RuntimeException: The preferences directory: \\CERNHOMEK.CERN.CH\Desktop_K/Application Data/com.oxygenxml
cannot be accessed !/n Please check the read/write access on that folder and its ancestors !
at ro.sync.exml.N.U.A(Unknown Source)
at ro.sync.exml.N.U.<init>(Unknown Source)
at ro.sync.exml.N.U.<init>(Unknown Source)
at ro.sync.exml.N.U.J(Unknown Source)
at ro.sync.exml.N.U.F(Unknown Source)
at ro.sync.ui.application.ApplicationLauncher.launch(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at ro.sync.exml.Oxygen.main(Unknown Source)
---------------------------------------------------------------------------------

I can't find any config file to setup my home directory, becuse Oxygen determines it incorrectly.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

<oXygen/> tries to access the user home directory corresponding to the user logged on the machine and it cannot do that on some Windows computers because the Java virtual machine determines the home directory incorrectly due to a bug in the JVM that is still not solved by Sun Microsystems. You should set the value of the user.home property, for example to the directory C:\Documents and Settings\temp for which the user must have write permission in one of the following two ways:

1. If you start <oXygen/> from the Start menu shortcut you have to set the user.home property in the C:\Program Files\Oxygen 7.1\oxygen7.1.ini file, the line "Virtual Machine Parameters":

Virtual Machine Parameters=-Xmx40P -Dcom.oxygenxml.splash=false -Duser.home="C:\Documents and Settings\temp"

2. If you start <oXygen/> with the C:\Program Files\Oxygen 7.1\oxygen.bat script you have to set the user.home property on the line with the java command:

java -Xmx256m -Duser.home="C:\Documents and Settings\temp" -cp %CP% ro.sync.exml.Oxygen %1 %2 %3 %4 %5 %6 %7

Regards,
Sorin
tmp2023
Posts: 2
Joined: Tue Apr 25, 2006 7:05 pm

Post by tmp2023 »

Thanks. Now it's woriking fine.
Post Reply