LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-05-2013, 02:32 AM   #1
bharat_iyengar
LQ Newbie
 
Registered: Jan 2013
Distribution: fedora
Posts: 5

Rep: Reputation: Disabled
Unhappy Matlab loading failure - Java - NoClassDefFoundError


I wanted to install Matlab2012a in FC17 based system. Initially the installation process failed with an "unexpected error" prompt when Aerospace toolbox was being installed. The log reported this error:

Code:
java.util.concurrent.ExecutionException: java.lang.RuntimeException: data starting at 0 is in unknown format
When I deselected Aerospace toolbox Matlab installed successfully but failed to start and gave this error:


Code:
Exception in thread "main" java.lang.NoClassDefFoundError: com/mathworks/instwiz/arch/ArchGuiFactory
Caused by: java.lang.ClassNotFoundException: com.mathworks.instwiz.arch.ArchGuiFactory
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at sun.misc.Launcher$ExtClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: com.mathworks.activationclient.ActivationApplication.  Program will exit.
i have openJDK7 (1.7.0.9_x64) and libXp installed. I tried the following withoout any success:

- reinstalling JDK
- reinstalling MATLAB
- specifying -javadir /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/jre/ during install
- export MATLAB_JAVA=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/jre

the scripts- activate_matlab.sh and deactivate_matlab.sh also wont work and give the same error. Selecting Aerospace toolbox again causes installer to quit prematurely.

Is it true that MATLAB is not compliant with openJDK7. If so, then is it advisable to install openJDK6 along with openJDK7 ?

Last edited by bharat_iyengar; 04-05-2013 at 02:44 AM.
 
  


Reply

Tags
fedora 17, jdk, jre, matlab


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Yet another java classpath question --- java.lang.NoClassDefFoundError Jama raequin Programming 1 12-29-2009 01:04 PM
Java NoClassDefFoundError when using Jama jdwilder Programming 5 03-29-2008 05:23 AM
java.lang.NoClassDefFoundError robbbert Programming 6 07-16-2006 06:47 AM
Java: java.lang.NoClassDefFoundError: javaapplication8/Factorial chief_officer Programming 9 05-31-2006 03:28 PM
java exception: java.lang.NoClassDefFoundError kath Programming 12 05-11-2006 04:37 AM


All times are GMT -5. The time now is 07:06 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration