01-31-2008
Unfortunately a solution like "which java" doesn't always work. For instance, I need to find the JRE location not for the binary "java", but for the library libjvm.so, because I want to launch a JVM from C native code.
The library path is something like this: "<JAVA_HOME>/jre/lib/i386/client/libjvm.so, and because of all symbolic links, if I get a path like /usr/bin/java using "which", it doesn't help me much.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hey ,
Anyone knows command to find when Linux OS is installed?
Date and time? (2 Replies)
Discussion started by: crackthehit007
2 Replies
2. Linux
Hi.
Here's my setup:
a workstation with an X server
a CentOS server with no X server installed (development, security is not a concern)
a GUI application installed on the server
When I ssh to that machine, I get:
ssh -Xl root 192.168.x.x
Warning: untrusted X11 forwarding setup... (4 Replies)
Discussion started by: flj
4 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I want to determine whether my java application is pointing to the OS version of Java or the User installed Java version on my Unix box.
I am aware of the "java -version" command, however I am unsure if the version returned is the OS one or the user one.
Please help.
Ali. (5 Replies)
Discussion started by: ali40
5 Replies
4. Red Hat
How do I network a Suse installed machine with other computers, specifically Red hat Linux?
This is for a school project, and I can't find any pages that tell how to network a Suse to other computers except how to use a printer. (1 Reply)
Discussion started by: Anna Hussie
1 Replies
5. Ubuntu
How can I learn what time OS installed time and release information. (4 Replies)
Discussion started by: getrue
4 Replies
6. Red Hat
Hi,
i am trying to grab all the installed packages on linux machine,and only want to grab "Name" "Version" "Release" "Vendor" information
i am using below command to do so :
rpm -qa --info | grep -e 'Name' -e 'Version' -e 'Release' -e 'Vendor'
the output contains lot other info... (3 Replies)
Discussion started by: omkar.jadhav
3 Replies
7. Shell Programming and Scripting
Dear All,
I am planning to find the list of certificates(WEBshpere/MQ) on a servers.
My certificates are either stored in (.jks) / (.pem)/ (.cer) . But some of the certificates are stored without these file formats. I tried using find command but unless I give the file name its difficult for... (4 Replies)
Discussion started by: sidh_arth85
4 Replies
8. Red Hat
Hi,
I am a common user on a linux cluster that has openJDK installed. For a particular software, the vendor asks for Oracle version of java installed.
How can I install the oracle version from my home space where I don't need admin privileges to install?
thanks! (2 Replies)
Discussion started by: pc2001
2 Replies
9. UNIX for Beginners Questions & Answers
Hello Forum,
I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so:
APP=application --version
But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies
10. UNIX for Beginners Questions & Answers
Hi All,
.
I am trying to find whether Solaris 11 installed on physical server or on VMware/KVM.
I tried uname -a but it's giving only whether i installed on X86 or sparc machine.
I tried prtdiag command but it's giving below information.
command : prtdiag -v |grep "System... (2 Replies)
Discussion started by: sravani25
2 Replies
LEARN ABOUT DEBIAN
sunflow
SUNFLOW(1) SUNFLOW DOCUMENTATION SUNFLOW(1)
NAME
sunflow - rendering system for photo-realistic image synthesis
SYNOPSIS
sunflow [option(s)] file(s)
DESCRIPTION
sunflow is an open source rendering system for photo-realistic image synthesis. It is written in Java and built around a flexible ray
tracing core and an extensible object-oriented design. It was created as a framework for experimenting with global illumination algorithms
and new surface shading models.
GENERAL OPTIONS
A summary of the options can be obtained by using one of the following options:
-h, -help
Display the list of available commands
PERFORMANCES
Sunflow will run considerably faster with the so called server VM (Virtual Machine). This server VM is part of Java, but it's not included
in the standard (JRE) installation of Java. The server VM starts up more slowly and uses more memory than the standard VM, but it runs a
lot faster in many cases.
Sunflow's built-in realtime raytracing benchmark (-rtbench) for example runs more than twice as fast with the server VM (exact speedup
depends on your hardware).
The easiest way to get the server VM is by installing the Java Development Kit (JDK).
On Debian, it is possible to install different JVM at the same time, amongst which: gij-4.2 (main), openjdk-6-jre (main), sun-java5-jre
(non-free), sun-java6-jre (non-free). To change the java link from one to another, use (with root privileges):
"update-alternatives --config java"
A pretty good choice should be openjdk-6-jre.
See also the "CONFIGURATION FILES" section.
SUGGESTED OPTIONS
As explained above, the following options can be used to obtain a performance gain, but depend on JVM used:
-server
Use the server virtual machine. The JDK matching the selected JVM has to be installed for this option to actually work, e.g.
sun-java5-jdk (non-free). A warning will be displayed otherwise, and this option ignored.
-XmxMEM
Use a memory upper limit of MEM instead of the default (probably 64M). Example of valid values: 512M, 1G.
Those options are best set through the SUNFLOW_JAVA_OPTIONS environment variable, or stored in the configuration files.
CONFIGURATION FILES
To allow flexible configuration, the sunflow wrapper sources two configuration files: /etc/sunflowrc and ~/.sunflowrc, in this order.
The syntax is simple "export KEY=VALUE". Lines beginning with a sharp sign are ignored.
The following options are supported:
SUNFLOW_JAVA
The java virtual machine to use. It's then possible to have e.g. a system-wide java alternative pointing to /usr/bin/gij-4.2, while
sunflow uses a different JVM, e.g. /usr/lib/jvm/java-1.5.0-sun-1.5.0.12/bin/java.
If not set (the default), java will be called, meaning the system-wide alternative will be used.
SUNFLOW_JAVA_OPTIONS
Those are the options to be passed to the java interpreter, see above for examples.
SUNFLOW_OPTIONS
The list of options to pass to sunflow automatically to avoid repeating them on each invokation of sunflow. Quotation marks are needed
if more than one option is specified.
If not set (the default), no option is passed to sunflow.
SEE ALSO
/usr/share/doc/sunflow/README.Debian
AUTHOR
Sunflow was written by Christopher Kulla <ckulla@gmail.com>.
This manual page was written by Cyril Brulebois <kibi@debian.org>, for the Debian project (and may be used by others). It is licensed under
the same terms as the package itself.
0.07.2.svn396 2011-08-07 SUNFLOW(1)