Sponsored Content
Full Discussion: Jvm.dll failed to load error
Operating Systems AIX Jvm.dll failed to load error Post 302924831 by bakunin on Wednesday 12th of November 2014 02:46:12 PM
Old 11-12-2014
Quote:
Originally Posted by achenle
What's your OS?
He stated that in post #1: AIX 7.1


To find out which Java version is installed search for the installed package:

Code:
lslpp -l | grep -i java

In most cases this will be Java 1.4, 1.5, 1.6 or 1.7. Once you found the name of the package issue a

Code:
lslpp -f <packagename> | more

To find out which files (and for your purpose more important - pathes) belong to the package. Then check your environment. You need several variables set:

"PATH" should include the bin-dir of your Java installation, something like "PATH=[...]:/usr/java6_64/jre/bin:[....]".

"JAVA_HOME" should point the root directory of the package, something like "/usr/java6_64/jre"

"LIBPATH" and "LD_LIBRARY_PATH" are in the same format as "PATH" (a colon-separated list of directories) and should both include the path to the Java libraries, which are located in either "$JAVA_HOME/bin" or "$JAVA_HOME/lib".

You can set these variables in your "~/.kshrc" file but i suggest to put them into the environment of any user (perhaps every user should be able to use Java) by placing these definitions in "/etc/environment".

I hope this helps.

bakunin
 

9 More Discussions You Might Find Interesting

1. HP-UX

Module jk2 failed to load into apache server!!

Hi There, Does anyone knows what could be the problem if my apache server is running but unable to load JK2 module into the server. My HTTPS is running on Apache Server 2.0.49 with ssl enabled and compiled with Mod_ssl on HPUX-11.11i. In fact we have try out the following parameter, ... (4 Replies)
Discussion started by: e_jeffhang
4 Replies

2. Shell Programming and Scripting

Need help in wrting Load Script for a Load-Resume type of load.

hi all need your help. I am wrting a script that will load data into the table. then on another load will append the data into the existing table. Regards Ankit (1 Reply)
Discussion started by: ankitgupta
1 Replies

3. Solaris

boot load failed

I modified the partitions on my Solaris 10 disk using format command in "boot cdrom -s" mode and then tried rebooting with "reboot". It said "Boot load failed". Why does this happen? I have faced this error before:( and I went in for a fresh installation of the OS.Can anyone tell me the reason as... (1 Reply)
Discussion started by: lydiaEd
1 Replies

4. Solaris

pam_unix_cred.so.1 failed to load

My solaris 8 server messages log recored error "Sep 30 21:35:00 bkp1 cron: open_module: /usr/lib/security/pam_unix_cred.so.1 failed: ld.so.1: cron: fatal: libproject.so.1: open failed: No such file or directory" Any idea what is this related to and how to stop? thanks in advance. (2 Replies)
Discussion started by: admin@solaris
2 Replies

5. SuSE

Failed to load HCA driver and Access Layer

Hi All, I got the following errors when i was trying to restart Infiniband service. Loading cxgb3 driver : Loading HCA driver and Access Layer : The command managed to bring up the services, but without RDMA modules loaded from /etc/init.d/openibd status output. Is the missing of RDMA... (0 Replies)
Discussion started by: dchm
0 Replies

6. Solaris

Cygwin X Server error: xdmcp fatal error session failed session 23 failed for display

Hi, i got the following error when i tried to access the cygwin x server from a windows XP PC. "xdmcp fatal error session failed session 23 failed for display" Alternatively, when i tried to access the same Cygwin X Server from another windows XP PC which is on a different LAN... (3 Replies)
Discussion started by: HarishKumarM
3 Replies

7. Solaris

Rpcinfo: can't contact portmapper: RPC: Authentication error; why = Failed (unspecified error)

I have two servers with a fresh install of Solaris 11, and having problems when doing rpcinfo between them. There is no firewall involved, so everything should theoretically be getting through. Does anyone have any ideas? I did a lot of Google searches, and haven't found a working solution yet. ... (2 Replies)
Discussion started by: christr
2 Replies

8. UNIX for Dummies Questions & Answers

VPS has load 200, httpd load no activity, netstat nothing

Hello, on my hostserver i see one VPS of mine got load of 200.00 and netstat nothing (not a single blank line on netstat command) after some time, netstat started showing connections, but i see no excessive IP connections. tail -f /var/log/httpd/access_log shows no activity /var/log/messages ;... (1 Reply)
Discussion started by: postcd
1 Replies

9. Solaris

Fresh Install - Boot Load Failed

I have M10-1. Installation OS 10 from cdrom external. Here message from OK Prompt {0} ok probe-scsi-all /pci@8000/pci@4/pci@0/pci@2/pci@0/usb@4,1/cdrom@1 Unit 0 Removable Read Only device HL-DT-STDVDRAM GP65NB60 PF00 But.. {0} ok boot... (3 Replies)
Discussion started by: mbahjiman
3 Replies
java_home(1)						      General Commands Manual						      java_home(1)

NAME
java_home - return a value for $JAVA_HOME SYNOPSIS
/usr/libexec/java_home [options] DESCRIPTION
The java_home command returns a path suitable for setting the JAVA_HOME environment variable. It determines this path from the user's enabled and preferred JVMs in the Java Preferences application. Additional constraints may be provided to filter the list of JVMs avail- able. By default, if no constraints match the available list of JVMs, the default order is used. The path is printed to standard output. OPTIONS
-v or --version version Filters the returned JVMs by the major platform version in "JVMVersion" form. Example versions: "1.5+", or "1.6*". -a or --arch architecture Filters the returned JVMs by the architecture they support. Example architectures: "i386", "x86_64", or "ppc". -d or --datamodel datamodel Filters the returned JVMs capable of running in 32 or 64-bit mode. Supported datamodels: "-d32" and "-d64". Specifying a datamodel is synonymous with specifying a particular architecture. -t or --task task Selects from the list of JVMs which can run a specific task. The order of each of these lists is set by the Java Preferences appli- cation. Supported tasks: "Applets", "WebStart", "BundledApp", "JNI" and "CommandLine". The default task is "CommandLine". -F or --failfast Immediately fails when filters return no JVMs; does not print out the path to the default $JAVA_HOME. --exec command ... Executes the command at $JAVA_HOME/bin/<command> and passes the remaining arguments. Any arguments to select which $JAVA_HOME to use must precede the --exec option. -X or --xml Prints the list of selected JVMs and associated properties as an XML plist to stdout. -V or --verbose Prints the matching list of JVMs and architectures to stderr. -h or --help Brief usage information. USAGE
/usr/libexec/java_home helps users set a $JAVA_HOME in their login rc files, or provides a way for command-line Java tools to use the most appropriate JVM which can satisfy a minimum version or architecture requirement. The --exec argument can invoke tools in the selected $JAVA_HOME/bin directory, which is useful for starting Java command-line tools from launchd plists without hardcoding the full path to the Java command-line tool. Usage for bash-style shells: $ export JAVA_HOME=`/usr/libexec/java_home` Usage for csh-style shells: % setenv JAVA_HOME `/usr/libexec/java_home` 04 August 2010 java_home(1)
All times are GMT -4. The time now is 05:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy