Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

java excepton error during startup

Please login with a confirmed email address before reporting spam

Hi
I'm using Comsol4.0 with Matlab R2009b. i logged in using the server. still when i try to open comsol with matlab the following error is shown

??? Java exception occurred:
java.lang.RuntimeException: Not possible to determine the installation path
'cs.root'.

at com.comsol.systemutils.SystemUtil.Q(Unknown Source)

at com.comsol.systemutils.SystemUtil.y(Unknown Source)

at com.comsol.systemutils.SystemUtil.z(Unknown Source)

at com.comsol.util.methods.g.a(Unknown Source)

at com.comsol.model.util.ModelUtil.getModelManager(Unknown Source)

at com.comsol.model.util.ModelUtil.connect(Unknown Source)

in the comsol/ workspace/ .metadata/.log it is shown

!ENTRY org.eclipse.osgi 4 0 2011-07-12 17:13:31.819
!MESSAGE Application error
!STACK 1
Exception:
com.comsol.util.exceptions.FlException: Could not find matlab at X
(rethrown as com.comsol.util.exceptions.FlException)
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
Could not find matlab at X

F:\Program Files\MATLAB\R2009b\bin\bin\win32\matlab.exe

Could not find matlab at X

Could not find matlab at X

Stack trace:
at com.comsol.mli.application.b.b(Unknown Source)
at com.comsol.mli.application.b.a(Unknown Source)
at com.comsol.mli.application.MatlabApplication.doStart(Unknown Source)
at com.comsol.util.application.ComsolApplication.doStart(Unknown Source)
at com.comsol.util.application.ComsolApplication.doRun(Unknown Source)
at com.comsol.server.ServerApplication.doStart(Unknown Source)
at com.comsol.util.application.ComsolApplication.doStart(Unknown Source)
at com.comsol.util.application.CsBaseApplication.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)


pl help

0 Replies Last Post 13 lug 2011, 13:35 GMT-4
COMSOL Moderator

Hello Hasib Mustafa

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.