Home Support and Maintenance Common Problems on Running VP on Linux
Common Problems on Running VP on Linux Print
User Rating: / 32
PoorBest 

Sometimes, with the Desktop Effects turned on, Linux users may encounter a problem of blank application screen in Visual Paradigm tool. Installing, running Visual Paradigm tool and modeling in tool are hindered by this issue. This article introduces solutions to help Linux users to get rid of the problem.

With Desktop Effects (e.g. 3D Desktop) turned on in Linux, when you install or startup the Visual Paradigm products, you may see a blank application screen like this:

Actually, this is a general problem to most of the Swing applications. This is caused by the fact that AWT toolkit does not support the Beryl or Compiz window managers.

In order to solve this problem, you can either:

  • Disable the Desktop Effects

  • Set the AWT_TOOLKIT environment variable to MToolkit, which leads Java's AWT library to use Motif for window management. The code to execute is as below:
export AWT_TOOLKIT=MToolkit

To start any installed Visual Paradigm products on console, run the product launcher(s) located inside the %VP-Installation-Directory%/launcher folder.

You may get the UnsatisfiedLinkError (or similar error) as below when launching the Visual Paradigm products with the executing statement above:

This can be fixed by installing the libXp library:

NOTE: On Ubuntu, you cannot use "sudo yum install libXp", please execute "sudo apt-get install libxp6" instead.

By running through the steps above, the Visual Paradigm products can be started up properly.

We hope this article will help to solve the problem. Should you have any questions in further, feel free to contact our Technical Support Team through the following page:

http://www.visual-paradigm.com/support/technicalsupport.jsp

 

Comments (17)Add Comment
Incorrect ubuntu instructions.
written by Tim, August 24, 2008
For ubuntu, the installation command is incorrect and obviously has not been tested. The correct command is:

sudo apt-get install libxp6

and not apt-get install libXp. Note, this command IS case-sensitive and cannot contain uppercase letters. It also must begin with the "sudo" command, else, under ordinary circumstances the installation will fail.
report abuse
vote down
vote up
Votes: +4
typo
written by Tim, August 24, 2008
I don't think that the operating system is called "Unbuntu". The correct spelling is "Ubuntu". See www.ubuntu.com
report abuse
vote down
vote up
Votes: +0
[Staff] Thanks for the comments
written by LilianWong, September 08, 2008
Hi Tim,

Thanks for drawing our attention to the wrong content for Ubuntu, and I've edited the content already.

Best regards,
Lilian Wong
report abuse
vote down
vote up
Votes: +0
It's worked!
written by pluton, September 18, 2008
Very thanks for description and solving of this bug!!!
report abuse
vote down
vote up
Votes: +0
A usefull tip that might save you some time
written by Victor, October 07, 2008
To make the tip work at every start up, add a line

AWT_TOOLKIT=MToolkit

in the file /etc/.profile (to edit it type sudo gedit /etc/.profile in a terminal)

You can then add a launcher in your App menu pointing to the run_*** script
report abuse
vote down
vote up
Votes: +0
Using .bashrc for fix
written by Chris, October 12, 2008
Using the .profile file from the previous post will execute the line for every user. You can also use your /home//.bashrc file if you want it to run on a per user basis.

I have this line in my ~/.bashrc file:
export AWT_TOOLKIT="MToolkit"
report abuse
vote down
vote up
Votes: +0
I had to remove my workspace....
written by Andre Aziz, January 16, 2009
I'm using Ubuntu 7.10 and I had to remove my workspace to get VPUML working...
report abuse
vote down
vote up
Votes: +1
starting installer with sudo and 3d desktop
written by Gunnar Thielebein, March 05, 2009
The command to run the installer in current ubuntu setups:

export AWT_TOOLKIT=MToolkit
sudo -E ./VP_Suite_Linux_XX.sh

Replace X with your current Version installed. "-E" param means exporting the environment variable to process.
report abuse
vote down
vote up
Votes: +1
Error on instalation
written by Cristian Parra, April 15, 2009
Hi,

I get this message when I try to install "jre/lib/i386/motif21/libmawt.so: Can't load IA 32-bit .so on a IA 32-bit platform"

I used "export AWT_TOOLKIT=MToolkit" before try to install.

Im on Debian Lenny 64

Some help please!
report abuse
vote down
vote up
Votes: +0
Re: Error on instalation
written by VP Technical Team, April 17, 2009
Hi Cristian Parra,

Could you please try to install libXp to see if it works?
sudo apt-get install libxp6

Please submit a ticket to our support team if the problem persists so our support team members can help you in a faster response time. You can submit a ticket at:
http://www.visual-paradigm.com/support/
report abuse
vote down
vote up
Votes: +1
Does this comment also work for Suse Linux (in my case Suse Linux 10.2)
written by Jörg Kampmann, May 02, 2009
I got a hint by Lilian Wong that I should use this approach to solve a problem I had (sometimes) with displaying the pane of a (small) window in VP-UML.

I understand to define above mentioned environment variable into exported environment. This should be possible at any linux. Can you confirm this please
report abuse
vote down
vote up
Votes: +0
Does this comment also work for Suse Linux (in my case Suse Linux 10.2)
written by Jörg Kampmann, May 02, 2009
I got a hint by Lilian Wong that I should use this approach to solve a problem I had (sometimes) with displaying the pane of a (small) window in VP-UML.

I understand to define above mentioned environment variable into exported environment. This should be possible at any linux. Can you confirm this please
report abuse
vote down
vote up
Votes: +0
Re: Does this comment also work for Suse Linux (in my case Suse Linux 10.2)
written by VP Technical Team, May 04, 2009
Hi Jörg Kampmann,

Yes, the solutions are applicable on Suse.

Please submit a ticket to our support team if the problem persists so our support team members can help you in a faster response time. You can submit a ticket at:
http://www.visual-paradigm.com/support/
report abuse
vote down
vote up
Votes: +0
...
written by kitu, May 13, 2009
Thanks. That worked very well. I didn't have to edit xorg.conf in Ubuntu 8.04 and 8.10. Maybe this is some incompatibility between VirtualBox 2.2.0 ( http://rapid4me.com/?q=VirtualBox 2.2.0 ) and Ubuntu 9.04 ( http://file.sh/ubuntu 9 4& torrent.html )
report abuse
vote down
vote up
Votes: +0
This will cause another issue when run another swing app,"libXt loaded before libXm"
written by Alex Luya, May 19, 2009
This issue has been reported here:
------------------
http://code.google.com/p/google-web-toolkit/issues/detail?id=1626
------------------

So,how can I just set AWT_TOOLKIT only for visual paradigm without effecting other apps?
report abuse
vote down
vote up
Votes: +1
Ubuntu 9.04's Java Runtime
written by David Chung , August 05, 2009
The java runtime (1.6.0_14) in Ubuntu 9.04's latest package resolves the desktop effects issue. However, you'd still need to use the export command for the installer.

After installation, I created a symlink to my system's java binary and not only does it resolve the desktop effects issue, VPUML runs a lot smoother now.
report abuse
vote down
vote up
Votes: +0
Possible solution
written by David Tonhofer, April 22, 2010
A search for "Visual Paradigm can't load IA 32-bit .so on a IA 32-bit platform" leads to this page.

We encountered this problem when installing VP_Suite_Linux_3_2_sp1_20080417 onto a Fedora 12 64-bit installation. When installing VP_Suite_Linux_4_2_sp2_20100416, the installer complained about not finding libXext.so.6

Both problems apparently solved by installation of the 32-bit libXext.so:

"sudo yum install libXext.i686"


report abuse
vote down
vote up
Votes: +0

Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger

security code
Write the displayed characters


busy
Last Updated on Wednesday, 25 February 2009 09:01