JVM Invocation in AIX 6.1


 
Thread Tools Search this Thread
Operating Systems AIX JVM Invocation in AIX 6.1
# 1  
Old 01-23-2009
JVM Invocation in AIX 6.1

Hi all,

I'm trying to do JVM invocation from C++ in AIX 6.1. So inorder to do that, i'm loading libjvm.a.
When i load the libjvm.a from the path where jre is installed (i.e /usr/java5/jre/bin/classic), it loads correctly and the program works correctly.
But according to my requirement, the jre will be present in some user defined path say /user1/jre/bin/classic. When i load libjvm, from the user defined jre path, jnicreatejavaVM fails.

Could anyone let me know why it behaves in this way and what needs to be done ?

Thank you.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

JVM Memory used on AIX

Hello, i need just a Unix command line (AIX 6) that gives me the memory/CPU used by a WebSphere JVM from it's PID such as ps -ef | grep 'jvm name'. I know jstat -gc PID but it didn't work Could you help me please Thanks Christian (1 Reply)
Discussion started by: steiner
1 Replies

2. Shell Programming and Scripting

Automatically invocation of unix command

Dear All, I have a directory when i received files by means of FTP, i want to invoke my shell scripts as soon as file hit the directory, if the files hit 10 times then the shell scripts should also get executed 10 times. thanks rajesh (1 Reply)
Discussion started by: guddu_12
1 Replies

3. Shell Programming and Scripting

command invocation

Hello, I've tested something like this: tcpdump -r /tmp/out.out > /tmp/out.ra 2> /dev/null works fine - there is no status message visible. if I place in a bash-script this line: $(tcpdump -r /tmp/out.out > /tmp/out.ra 2> /dev/null) I get status information on executing :confused:. I... (2 Replies)
Discussion started by: daWonderer
2 Replies

4. Red Hat

Problem in REMOTE DESKTOP INVOCATION

Hello sir, I am using VNC package for invoking the remote desktop to and from a FEDORA 8 machine and a WINDOWS XP machine. I have downloaded the VNC for both OSs and run it successfully. 1)When I invoked WINDOWS XP server, the I got it successfully as :-... (0 Replies)
Discussion started by: nsharath
0 Replies

5. Solaris

xscreensaver invocation location

i have an issue where it appears i'm running version 3.24 of xscreensaver but when the screensaver actually activates it shows version 4.12 on the xscreensaver unlock/lock screen. the node is running solaris 8 which is connected to a server running irix. the node has no .xscreensaver in any of the... (1 Reply)
Discussion started by: nixwins
1 Replies

6. AIX

AIX JVM -32 or 64?

Friends, Can any one tell me what command should be used to check whether the JVM in AIX is 32 bit or 64 bit? Thanks, Govindh (2 Replies)
Discussion started by: Govindh.v
2 Replies

7. Shell Programming and Scripting

Remote script invocation

Hi, Had this weird issue that need expertise help. Here is the scenario. I have Server A (Unix) and Server B (Windows 2000). I need to invoke a script on Server B from Server A. If it was a windows to windows invocation, I could have done it with WMI. How do I go about it from Unix to... (4 Replies)
Discussion started by: hollysmoke
4 Replies

8. Shell Programming and Scripting

sqlplus invocation

sqlplus -s /nolog <<! set serveroutput on size 100000 @/path_of_my_script exit ! hi, i encountered the above statment in a unix script file and i have some questions, would appreciate if someone can enlighten me. 1. What is the purpose of <<! ? 2. What is the purpose of exit ? does it exit... (4 Replies)
Discussion started by: new2ss
4 Replies
Login or Register to Ask a Question
UPDATE-JAVA-ALTERNATIVES(8)				      System Manager's Manual				       UPDATE-JAVA-ALTERNATIVES(8)

NAME
update-java-alternatives - update alternatives for jre/sdk installations SYNOPSIS
update-java-alternatives [--jre] [--plugin] [-t|--test|-v|--verbose] -l|--list [<jname>] -s|--set <jname> -a|--auto -h|-?|--help DESCRIPTION
update-java-alternatives updates all alternatives belonging to one runtime or development kit for the Java language. A package does pro- vide these information of it's alternatives in /usr/lib/jvm/.<jname>.jinfo. OPTIONS
-l|--list [<jname>] List all installed packages (or just <jname>) providing information to set a bunch of java alternatives. Verbose output shows each alternative provided by the packages. -a|--auto Switch all alternatives of registered jre/sdk installations to automatic mode. -s|--set <jname> Set all alternatives of the registered jre/sdk installation to the program path provided by the <jname> installation. --jre Limit the actions to alternatives belong to a runtime environment, not a development kit. --jre-headless Limit the actions to alternatives belong to the headless part of a runtime environment. --plugin Limit the actions to alternatives providing browser plugins. -h|--help Display a help message. -t|--test Don't actually do anything, just say what would be done. The implementation status of this option is the same as for update-alter- natives (not implemented). -v|--verbose Verbose output. FILES
/usr/lib/jvm/.*.jinfo A text file describing a jre/sdk installation. Consists of some variables of the form <var>=<value> and a list of alternatives of the form jre|jdk <name> <path>. AUTHOR
update-java-alternatives and this manual page was written by Matthias Klose <doko@ubuntu.com>. May 2006 UPDATE-JAVA-ALTERNATIVES(8)