[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Zend Studio Linux Fedora 14 LXDE JVM error

Posted on 2011-02-15
16
Medium Priority
?
686 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
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Fine Tune your automatic Updates for Ubuntu / Debian
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses

650 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