Solved

Zend Studio Linux Fedora 14 LXDE JVM error

Posted on 2011-02-15
16
665 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
 

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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
maven example error 3 36
Ubuntu/Asterisk after upgrade Wav issue 19 35
linux crontab output 3 41
Linux  Script File Attributes 5 22
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now