LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 07-12-2005, 03:26 PM   #1
orca
LQ Newbie
 
Registered: Mar 2003
Location: Rio de Janeiro, Brazil
Distribution: Debian
Posts: 20

Rep: Reputation: 0
no GUI for Matlab 6.1 under Linux Debian 3.1 (sarge)


Hi all,

I have changed my operating system to Linux Debian 3.1 (sarge). I installed Matlab 6.1 with no apparent trouble.

However, whenever I try to run matlab from a command shell, its splashwindow pops up for a while, vanishing afterwards, leaving me just with its bare command line prompt, after issuing the following message:

Opening Log file: /home/orca/java.log.23573
Warning: Failed to start the Java Virtual machine.
Warning: Disabling Java support.

I only have access to Matlab's command line, not to its graphical interface at all. Do you know what comes?

Some possibly relevant information is:

gcc: 3.3.5
glibc: 2.3.2
linux kernel: 2.6.8

I have downloaded and installed with success JRE version 1.5.0_04, from Sun, which seems to be working (according to some simple tests I've done) and I have checked that my system does have a directory /usr/share/local/en_US, with the only two files: cups_en_US, and entry.desktop

Someone has told me that perhaps I should use a downgraded version of the Java VIrtual Machine; might that be possible? If so, can I have more than one version of Java? How do I force Matlab to use a given one?

Any help is appreciated to solve this!
 
Old 07-12-2005, 04:21 PM   #2
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 32
what does this file contain?
/home/orca/java.log.23573
 
Old 07-14-2005, 07:05 PM   #3
orca
LQ Newbie
 
Registered: Mar 2003
Location: Rio de Janeiro, Brazil
Distribution: Debian
Posts: 20

Original Poster
Rep: Reputation: 0
Sorry for the delay Nathanael,

The message in the file java.log reads:

/usr/local/matlab6p1/sys/java/jre/glnx86/jre/lib/i386/native_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined
in file libc.so.6 with link time reference (libzip.so)
Unable to initialize threads: cannot find class java/lang/Thread

Meanwhile I have received some help, from a guy called Brian Borchers, from another forum, called mathforum, which, in the bottom line, redirected me two these two "Technical Solutions" from the mathworks site:

http://www.mathworks.com/support/sol...lution=1-1ATCE

and

http://www.mathworks.com/support/sol...lution=1-1AFHN

The first "Solution" practically worked for me with:

export LD_ASSUME_KERNEL=2.4.1

to the effect that the matlab window now pops up and remains, though the fonts seem to be a little too big...

My problem now is how to set this environment variable automatically when, and only when, I run the command matlab from a given shell, and not otherwise. I mean, in principle, I would not like to have the system assume that my kernel is 2.4.1 when, in fact, it is 2.6.8; this might have other (bad) implications, might it not?

Thanks again for any help!

Mauricio

Last edited by orca; 07-15-2005 at 12:30 PM.
 
  


Reply


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
debian sarge 3.1 no gui napatec Debian 4 11-01-2005 05:41 AM
Help - Matlab with ugly GUI font under FC3 _cjx_ Linux - Software 1 08-09-2005 09:02 AM
Tried Debian 'Sarge' on a different machine that has nVidia FX 5200 card... blank GUI ExCIA Linux - Newbie 11 05-16-2005 01:36 PM
Debian Sarge 3.01 GUI Problem. jsi386 Debian 1 03-21-2005 05:37 PM
MATLAB GUI on Fedora Core 2 fixed? long post. paulo Fedora 4 06-18-2004 03:41 AM


All times are GMT -5. The time now is 07:30 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