On Thu, Nov 20, 2014 at 4:39 AM, System Programmer <[email protected]>
wrote:

> Hi,
>
> Trying to call some JZOS classes from an Eclipse project.
>
> I get the following errors:
>
> Error loading jzos native library, subsequent native methods will fail with
> 'UnsatisfiedLinkError'
> java.lang.
> UnsatisfiedLinkError: no jzos in java.library.path
>
> Could not determine JZOS DLL version.
> jzos.jar build version '2.4.5 2014-03-14' does not match libjzos DLL build
> version 'null'
>
> Is running JZOS classes on Windows possible at all?
>

​No. JZOS is a Java "wrapper" around the "real code" which, I think, is
written in C++ and compiled to native zArchitecture instructions (The
"native library" phrase in the message is the give away). And it is
specific to z/OS.I.e. it won't work on z/VSE either.​ Conceptually, it
would be like trying to use the JCICS API in a Java program running in a
batch job because the CICS API is not available. You'll have to deploy your
code to z/OS and run it there. Something like RDz will help, I think. RDz
is based on Eclipse, so your knowledge of Eclipse will translate over. But
RDz is a cost product, not a freebie.

​I sort of assumed that you are wanting to develop and test your z/OS based
application on your desktop Eclipse. Development is possible in this
scenario, but the resultant Java class / jar files need to be deployed to
z/OS for testing.If what you were wanting is "cooperative" processing where
you run an application on your desktop which accesses z/OS resources such
as data sets, that's an entirely different kettle of fish. If this latter
case, I would look at the Co:Z code on the Dovetailed Technologies (the
original developers of JZOS!). Go here:
http://dovetail.com/downloads/coz/index.html and download the source code.
This is C++ code to interface with the Co:Z tools on z/OS via an SSH
connection. You could probably transliterate this from C++ to Java code.
And then use it to do some z/OS stuff on your desktop; such as reading /
writing files (including SPOOL). No, I have not looked into do this. I'm
too lazy. I'd just use the compiled desktop tools (on the same site) and
use something like a system() call to invoke them to do "whatever".​

>
> Thanks.
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>



-- 
The temperature of the aqueous content of an unremittingly ogled
culinary vessel will not achieve 100 degrees on the Celsius scale.

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to