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
JSVC(1) 						   Apache Commons Daemon project						   JSVC(1)

NAME
jsvc - application to launch java daemon SYNOPSIS
jsvc [-jvm JVM name] [-client client JVM] [-server server JVM] [-classpath path] [-cp path] [-java-home directory] [-version] [-help] [-?] [-nodetach] [-debug] [-check] [-user user] [-wait waittime] [-umask mask] [-stop] [-verbose:class|gc|jni] [-outfile /full/path/to/file] [-errfile /full/path/to/file] [-pidfile /full/path/to/file] [-Dproperty=value] [-Xoption] DESCRIPTION
jsvc executes classfile that implements a Daemon interface. OPTIONS
-jvm JVM name use a specific Java Virtual Machine. -client client JVM use a client Java Virtual Machine. -server server JVM use a server Java Virtual Machine. -cp/ -classpath directory and zip/jar files set search path for service classes and resouces -java-home directory set the path of your JDK or JRE installation (or set the JAVA_HOME environment variable) -version show the current Java environment version (to check correctness of -home and -jvm. Implies -nodetach) -help show this help page (implies -nodetach) -nodetach don't detach from parent process and become a daemon -debug verbosely print debugging information -check only check service (implies -nodetach) -stop stop the service using the file given in the -pidfile option -wait waittime wait up to waittime seconds for the service to start waittime should multiple of 10 (min=10) -umask mask sets the file mode creation mask -user user user used to run the daemon (defaults to current user) -verbose[:class|gc|jni] enable verbose output -outfile /full/path/to/file Location for output from stdout (defaults to /dev/null). Use the value '&2' to simulate '1>&2', or 'SYSLOG' to send output to the system log. -errfile /full/path/to/file Location for output from stderr (defaults to /dev/null). Use the value '&1' to simulate '2>&1', or 'SYSLOG' to send output to the system log. -pidfile /full/path/to/file Location for output from the file containing the pid of jsvc (defaults to /var/run/jsvc.pid) -D<name>=<value> set a Java system property -X<option> set Virtual Machine specific option AUTHOR
JSVC is part of the Apache Commons Daemon project. Authors are Jean-Frederic Clere, Remy Maucherat, Yoav Shapira, Bill Barker, Mladen Turk. JSVC is released under the Apache License Version 2.0. Jsvc version 1.0.6 08/17/2012 JSVC(1)