Solved

Zend Studio Linux Fedora 14 LXDE JVM error

Posted on 2011-02-15
16
680 Views
Last Modified: 2012-05-11
Hi Experts!

I've a Zend Studio in my Fedora 14 LXDE. I was download the Zend Studio 32 bits, 8 version, most recient. When I run the app, shows me:

Failed to load the JNI shared library "/home/javiermorquecho/Downloads/ZendStudio/jre/bin/../lib/i386/client/libjvm.so".

I installed JRE and JDK in my computer.

In the directory /jre/bin/ I need to change permissons?

Thnx!
0
Comment
Question by:javiermorquecho
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 4
  • 2
  • +1
16 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 34899573
>>
I installed JRE and JDK in my computer.

In the directory /jre/bin/
>>

Not good. $JAVA_HOME should be something like

/usr/java/someversion

I'd suggest an uninstall then reinstall
0
 

Author Comment

by:javiermorquecho
ID: 34900954
Excuse me. I've Zend Studio in a directory the directory jre/bin
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 34901264
Try setting and exporting ${JAVA_HOME} before starting Zend
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

Author Comment

by:javiermorquecho
ID: 34943506
I was setting and exporting ${JAVA_HOME}, before starting Zend, but Zend shows the same error. I use "yum install java" and "yum installgroup java development" and the behavior is the same.

Another idea?

Thnx a lot! :)
0
 
LVL 92

Expert Comment

by:objects
ID: 34946665
Thats right, JAVA_HOME won't make a difference. Its got nothing to do with what you are doing.

Are you running it on 32 or 64 bit java?

> /home/javiermorquecho/Downloads/ZendStudio/jre/bin/../lib/i386/client/libjvm.so

does this file exist?
and do you have access rights to read it?
0
 

Author Comment

by:javiermorquecho
ID: 34946769
Yes, I'm using java 32 bits.

The file:

/home/javiermorquecho/Downloads/ZendStudio/jre/bin/../lib/i386/client/libjvm.so

exist. I've access rights to read it.

Thnx alot! :)
0
 
LVL 92

Expert Comment

by:objects
ID: 34946894
how are you starting it up?
0
 

Author Comment

by:javiermorquecho
ID: 34946939
I start the app executing the file:

/home/javiermorquecho/Downloads/ZendStudio/ZendStudio
0
 
LVL 92

Expert Comment

by:objects
ID: 34947061
run it with the  -console -debug options
0
 

Author Comment

by:javiermorquecho
ID: 34948535
Thnx. I ran the command:

[javiermorquecho@localhost ZendStudio]$ ./ZendStudio -console -debug options
Start VM: -Xms128M
-Xmx512M
-XX:MaxPermSize=256m
-Djava.class.path=/home/javiermorquecho/Downloads/ZendStudio/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-os linux
-ws gtk
-arch x86
-showsplash
-launcher /home/javiermorquecho/Downloads/ZendStudio/ZendStudio
-name Zend Studio
--launcher.library /home/javiermorquecho/Downloads/ZendStudio/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.1.R36x_v20100810/eclipse_1309.so
-startup /home/javiermorquecho/Downloads/ZendStudio/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-showlocation
-console
-debug options
-vm /home/javiermorquecho/Downloads/ZendStudio/jre/bin/../lib/i386/client/libjvm.so
-vmargs
-Xms128M
-Xmx512M
-XX:MaxPermSize=256m
-Djava.class.path=/home/javiermorquecho/Downloads/ZendStudio/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
/home/javiermorquecho/Downloads/ZendStudio/jre/bin/../lib/i386/client/libjvm.so: cannot enable executable stack as shared object requires: Permission denied
0
 
LVL 92

Expert Comment

by:objects
ID: 34948578
do you have execute permissions on that file?
0
 

Author Comment

by:javiermorquecho
ID: 34962846
yes
0
 

Author Comment

by:javiermorquecho
ID: 34981352
Hi!

I installed JVM of the sun page, I followed the linux instructions (http://java.com/en/download/help/linux_install.xml#selfextracting). In other sense, I download Zend Studio ver 7.2 (old version), and the behavior is the same.

I used "yum  install java"and "yum  install java development".

I think, I use too much options. :(

Thnx a lot!
0
 

Accepted Solution

by:
javiermorquecho earned 0 total points
ID: 35014227
I resolve the trouble. The solution is:


SELinux is preventing /home/javiermorquecho/Downloads/ZendStudio/ZendStudio from using the execstack access on a process.

Plugin: catchall
you want to allow ZendStudio to have execstack access on the Unknown processIf you believe that ZendStudio should be allowed execstack access on processes labeled unconfined_t by default.
You should report this as a bug.
You can generate a local policy module to allow this access.
Allow this access for now by executing:
# grep ZendStudio /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp


I'm sorry. Points to me! LOL

Thnx! :)
0
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 37514367
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question