Solved

Zend Studio Linux Fedora 14 LXDE JVM error

Posted on 2011-02-15
16
676 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
  • 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

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 59

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

839 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