Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-05-2013, 02:32 AM   #1
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:

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:

Exception in thread "main" java.lang.NoClassDefFoundError: com/mathworks/instwiz/arch/ArchGuiFactory
Caused by: java.lang.ClassNotFoundException: com.mathworks.instwiz.arch.ArchGuiFactory
	at$ Source)
	at Method)
	at 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 ( and libXp installed. I tried the following withoout any success:

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

the scripts- and 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.


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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:43 PM.

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