Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
2014年3月28日 GMT-4 10:18
Maybe you upgraded your java runtime engine (JRE)? downgrading maybe an option.
Also, after any kernel upgrade I do have problems running comsol. That is because nvidia's driver is a proprietary one and it is not reinstalled along with the new linux kernel. If you happen have an nvidia graphic card and a proprietary driver installed, try to upgrade it or reinstall it.
Do you have debian or any debian-based distribution? try running this command glxgears and tell me what happens.
hope it helps,
Felipe BM
Maybe you upgraded your java runtime engine (JRE)? downgrading maybe an option.
Also, after any kernel upgrade I do have problems running comsol. That is because nvidia's driver is a proprietary one and it is not reinstalled along with the new linux kernel. If you happen have an nvidia graphic card and a proprietary driver installed, try to upgrade it or reinstall it.
Do you have debian or any debian-based distribution? try running this command glxgears and tell me what happens.
hope it helps,
Felipe BM
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
2014年3月28日 GMT-4 10:38
Hi,
Thanks for your fast reply.
No, I didn't do any update, neither on JRE or on kernel or NVIDIA. However, I did reboot my computer before this problem occurred.
After the reboot, when trying to start-up COMSOL 4.3a or 4.4, COMSOL gave "JAVA permission denied" errors and didn't start up. I had this problem before and found on the internet that the following command fixed this:
chcon -t textrel_shlib_t /usr/java/jdk1.6.0_41/jre/lib/i386/client/libjvm.so
(And then the same with a long list of other Java libs)
So, I did this, but also for some JAVA *.so libs that were located in COMSOL4.3 subdirectories.
After that, COMSOL 4.3a started up fine. However, with COMSOL 44, I got the problems as quoted in my first message.
Somehow, my guess is that by doing this "chcon" commands on "COMSOL 4.3 Java libs" (excuse me if I use the wrong terminology here, for me this is all very cryptic), some of the "COMSOL 4.4 java libs" ended up "pointing to the wrong lib" (again, I have no idea whether any of this makes sense).
Since I didn't know how to fix this (it didn't tell which COMSOL 4.4 java libs to fix), I just re-installed COMSOL 4.4 completely. Now, everything works fine. But of course, it would be nice to understand the origins of this problem so that I don't have to reinstall every time this occurs.
I am running Scientific Linux by the way, which is some special variant of RedHat.
Best regards,
Machiel
Hi,
Thanks for your fast reply.
No, I didn't do any update, neither on JRE or on kernel or NVIDIA. However, I did reboot my computer before this problem occurred.
After the reboot, when trying to start-up COMSOL 4.3a or 4.4, COMSOL gave "JAVA permission denied" errors and didn't start up. I had this problem before and found on the internet that the following command fixed this:
chcon -t textrel_shlib_t /usr/java/jdk1.6.0_41/jre/lib/i386/client/libjvm.so
(And then the same with a long list of other Java libs)
So, I did this, but also for some JAVA *.so libs that were located in COMSOL4.3 subdirectories.
After that, COMSOL 4.3a started up fine. However, with COMSOL 44, I got the problems as quoted in my first message.
Somehow, my guess is that by doing this "chcon" commands on "COMSOL 4.3 Java libs" (excuse me if I use the wrong terminology here, for me this is all very cryptic), some of the "COMSOL 4.4 java libs" ended up "pointing to the wrong lib" (again, I have no idea whether any of this makes sense).
Since I didn't know how to fix this (it didn't tell which COMSOL 4.4 java libs to fix), I just re-installed COMSOL 4.4 completely. Now, everything works fine. But of course, it would be nice to understand the origins of this problem so that I don't have to reinstall every time this occurs.
I am running Scientific Linux by the way, which is some special variant of RedHat.
Best regards,
Machiel
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
2014年4月17日 GMT-4 07:30
Hi,
I still have the same problem. Whenever I switch off my computer and then switch it back on, I cannot start up COMSOL44.
After doing "chcon -t textrel_shlib_t /usr/local/comsol44_copy1/java/glnx86/jre/lib/i386/client/libjvm.so", the graphical interface starts up, but then complaints about this:
java.lang.RuntimeException: Could not find the COMSOL Application 'com.comsol.guiclient.application'
When I try to run "glxgears", it runs fine by the way.
The only way I can get COMSOL 44 to work, is to re-install it completely, which is a bit annoying. My guess I have to set some kind of JAVA path, but I have no idea how.
Cheers,
Machiel
Hi,
I still have the same problem. Whenever I switch off my computer and then switch it back on, I cannot start up COMSOL44.
After doing "chcon -t textrel_shlib_t /usr/local/comsol44_copy1/java/glnx86/jre/lib/i386/client/libjvm.so", the graphical interface starts up, but then complaints about this:
java.lang.RuntimeException: Could not find the COMSOL Application 'com.comsol.guiclient.application'
When I try to run "glxgears", it runs fine by the way.
The only way I can get COMSOL 44 to work, is to re-install it completely, which is a bit annoying. My guess I have to set some kind of JAVA path, but I have no idea how.
Cheers,
Machiel
Please login with a confirmed email address before reporting spam
Posted:
10 years ago
2014年12月18日 GMT-5 11:46
Hi
I have the same problem , after running i get this Error msg :
java.lang.RuntimeException: Could not find the COMSOL Application 'com.comsol.guiclient.application'
How can i solve it ?
Regards
Hi
I have the same problem , after running i get this Error msg :
java.lang.RuntimeException: Could not find the COMSOL Application 'com.comsol.guiclient.application'
How can i solve it ?
Regards
Please login with a confirmed email address before reporting spam
Posted:
10 years ago
2014年12月18日 GMT-5 11:57
I still haven't solved it.
Everytime I have rebooted my computer, I have to reinstall COMSOL 4.4 (With 4.3 I don't have this problem).
It must be something about paths that are set correctly by the installation script.
I still haven't solved it.
Everytime I have rebooted my computer, I have to reinstall COMSOL 4.4 (With 4.3 I don't have this problem).
It must be something about paths that are set correctly by the installation script.