I have a .jar placed in my Unix directory. The .jar creates a .csv file .I want to execute the .jar and place the output file in a target Unix directory.
The Unix Script is as follows. The issue that i am facing is that the file is not being placed in the REPORTDIR=/cdunix/IQNavigator/wrk instead it is placed in the directory where the .jar is present
Last edited by Scrutinizer; 07-04-2015 at 10:57 AM..
Reason: CODE tags
Hi - I am totally new to UNIX so please bear with me...
I run a java program on Win NT server to do file ftp to UNIX server.
I log in, cd, create ftp file on UNIX and quit from my java progam - all works well.
Now I want to execute a script on UNIX.
At the UNIX 'console'/'shell' (!?) you... (1 Reply)
Hello,
I recieve the following error when trying to run the following command in a ksh. The operating system is AIX5.1.
/usr/bin/jar -xvf {filename}.zip
Can't find class java.lang.System
But when I run it on the command line it unzips the file fine.
Does anybody know why this... (2 Replies)
Is it possible for a Unix script to execute a .dll. If so, where would I find information/examples of how to do that?
Thanks, in advance, for any help. :rolleyes: (2 Replies)
Hi ALL,
I would like to execute one SQL query(ORACLE) in UNIX shell script. For this I used sqlplus in script and tested locally. It worked fine. But my requiremnt is to execute the script from Java. In this case the UNIX part is working but sqlplus is not returning anything
The JAVA code used... (0 Replies)
Hi,
I have to run my JAVA programs in UNIX server. The java program uses some external jar files for compiling. I have set the classpath to the folder where all the jar files are present using EXPORT classpath command.
But when i compile, it shows errors.. saying that the classes relating... (8 Replies)
I need to execute a shell script kept in unix machine from windows. User id, password area available.
For eg.
There's a shell script wich moves all the logs kept in my home directory to a directory named LOGS.
Now i need to get this done through windows; either using a batch file, or java... (4 Replies)
Hi Team,
Can you pls advise in java how can we call a shell script, actly I have a shell script at the following location
/opt/dd/ajh.sh
now I can execute this script by opening the session through putty by entering the servers details and password and then navigating to the following... (2 Replies)
I'm trying to use a shell script to compile and execute a java file. The java classes are using sockets, so there is a client.java file and a server.java file, each with their own shell script. I also want to handle the command line arguments within the shell script, not the java classes. The... (1 Reply)
Dear Unix Leads,
can you please let me know is it possible to execute a shell script in UNIX machine sending an email from outlook or gmail ? or is it possible to generate a token file in UNIX by sending email which we can indirectly use to trigger script
your response on this is highly... (5 Replies)
Discussion started by: mirwasim
5 Replies
LEARN ABOUT MOJAVE
extcheck
extcheck(1) General Commands Manual extcheck(1)NAME
extcheck - jar conflict detection utility
SYNOPSIS
extcheck [ -verbose ] [ -Joption ] targetfile.jar
DESCRIPTION
The extcheck utility checks a specified jar file for title and version conflicts with any extensions installed in the JDK software. Before
installing an extension, you can use this utility to see if the same or a more recent version of the extension is already installed.
The extcheck utility compares the Specification-title and Specification-version headers in the manifest of targetfile.jar file against the
corresponding headers in all Jar files currently installed in the extension directory. (The extension directory is jre/lib/ext by
default.) The extcheck utility compares version numbers in the same way as the method java.lang.Package.isCompatibleWith.
If no conflict is detected, the return code is 0.
If the manifest of any jar file in the extensions directory has the same Specification-title and the same or a newer Specification-version
number, a non-zero error code is returned. A non-zero error code is also returned if targetfile.jar does not have the Specification-title
or Specification-version attributes in its manifest.
OPTIONS
The following options are supported:
-verbose Lists jar files in the extension directory as they are checked. Additionally, manifest attributes of the target jar file
and any conflicting jar files are also reported.
-Joption Pass option to the Java virtual machine, where option is one of the options described on the man page for the java applica-
tion launcher, java(1). For example, -J-Xms48m sets the startup memory to 48 megabytes.
SEE ALSO jar(1)
13 June 2000 extcheck(1)