×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




The best way to fix it is to upgrade your JV1 products(all options
including *BASE). The situation you hit only exist when you upgrade your
OS, while keeping the old JV1 .

Best regards.
____________________________________________________________________________________________
Gavin, Zhang Gan --
https://w3-connections.ibm.com/profiles/html/profileView.do?key=d77158d7-c5cd-4e6e-a90d-23dddc9cbaba&lang=en
IBM i J9 Team Lead,
Email: zhanggan@xxxxxxxxxx
Phone: +86-10-82452719
Address: 1/F, 28, ZhongGuanCun Software Park, No.8 Dong Bei Wang West
Road, Haidian District, Beijing P.R.China 100193
J9 on i: http://www.ibm.com/developerworks/ibmi/techupdates/java



----- Original message -----
From: "John Allen" <jallen@xxxxxxxxxxx>
Sent by: "JAVA400-L" <java400-l-bounces@xxxxxxxxxxxx>
To: "'Java Programming on and around the IBM i'"
<java400-l@xxxxxxxxxxxx>
Cc:
Subject: RE: Error running Qshell jar = exec: 001-0014 Command
/QSYS.LIBL/QJVATOOLS.PGM not found
Date: Wed, Oct 19, 2016 5:03 AM

Possible solution:

I replaced the jar contents of jar file:
************Beginning of data**************
#! /usr/bin/qsh
# 5722-SS1
# (C) COPYRIGHT IBM Corporation 2003, 2004
# All Rights Reserved.
# US Government Users Restricted Rights-
# Use, duplication or dislosure restricted
# by GSA ADP Schedule Contract with IBM Corp.
#
# Licensed Materials-Property of IBM
#
# Called via /usr/bin/java.
# Will use the default JDK.
exec /QSYS.LIB/QJVATOOLS.PGM jar "$@"
************End of Data********************

With:

# 5770-JV1

# (C) COPYRIGHT IBM Corporation 2005, 2013

# All Rights Reserved.

# US Government Users Restricted Rights-

# Use, duplication or disclosure restricted

# by GSA ADP Schedule Contract with IBM Corp.

#

# Licensed Materials-Property of IBM

#



# The exit status of this call is 0 if PASE is not yet attached to the
process.
/usr/bin/system -pieb call QJAVA/QJVATOOLS



if [ "$?" -eq "0" ]; then # PASE not attached

exec /QSYS.LIB/QJAVA.LIB/QJVATOOLS.PGM jar "$@"

else # PASE attached

exec /QIBM/ProdData/Java400/jFromPASE jar "$@"

fi

And it seems java is back working fine.
I will keep an eye out to see if anything else crops out.

Thanks everyone for your help

John

-----Original Message-----
From: JAVA400-L [[1]mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of
CRPence
Sent: Tuesday, October 18, 2016 1:38 PM
To: java400-l@xxxxxxxxxxxx
Subject: Re: Error running Qshell jar = exec: 001-0014 Command
/QSYS.LIBL/QJVATOOLS.PGM not found

On 18-Oct-2016 12:15 -0500, CRPence wrote:
> On 18-Oct-2016 09:53 -0500, John Allen wrote:
>> I have a client running 7.2 and they are trying to zip a file using

>> the command:
>>
>> QSH CMD('jar 'cfM "/CUST/TEST.PDF" "/CUST/TEST.ZIP" ')
>
> Presumably not a copy/paste; i.e. the above would fail due to an
> unmatched delimiter.
>
>>
>> And getting error:
>>
>> exec: 001-0014 Command /QSYS.LIBL/QJVATOOLS.PGM not found
>
> Again, not an actual copy/paste? Maybe instead, the replacement text

> shows `/QSYS.LIB/QJVATOOLS.PGM`?
>
>>
>> Any ideas what causes this error?
>
> What is shown on Display Symbolic Link display after having taken
> option-12=Work With Links, from WRKLNK '/usr/bin/jar'? And if that
> shows something like /QIBM/ProdData/Java400/bin/jar for Object Link,

> then what is that; if a Stream File (STMF), then what shows in there

> with regard/likeness to the above text?
>
>>
>> Here is info from my research:
>>
>> The Program QJVATOOLS is in library QJAVA
>>
>> They are running 7.2
>>
>> [.]

Of the [snipped] list of products installed, the 5770SS1 OPTION(33)
"Portable App Solutions Environment" was not shown. A SWAG, based on
what I noticed in changes between 7.1 and 7.3 [I've no access to 7.2],
that installation of PASE may circumvent the issue.?

>>
>> PTF SI53657 Status is Temporarily Applied
>>
>> [.]
>>
>
> That PTF would seem to have been the best bet; as apparently being
> preventive for the quite similar message for the: "ajar: 001-0018
> Error found running command /QSYS.LIB/QJVATOOLS.PGM. No such path or
> directory."
>

--
Regards, Chuck

--
This is the Java Programming on and around the IBM i (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [2]http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [3]http://archive.midrange.com/java400-l.

--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [4]http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [5]http://archive.midrange.com/java400-l.




References

Visible links
1. mailto:java400-l-bounces@xxxxxxxxxxxx
2. http://lists.midrange.com/mailman/listinfo/java400-l
3. http://archive.midrange.com/java400-l
4. http://lists.midrange.com/mailman/listinfo/java400-l
5. http://archive.midrange.com/java400-l

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.