× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Bill,

Depends on how you plan to invoke it. As long as you have downloaded Ant and Hibernate and put them in your classpath, you should be able to invoke them. I do remember running some ant tasks at one point in QSH but we do run Hibernate as part of our Java servlet implementations. Again, the classpath is the critical issue. Otherwise you can just download the jars and install them in the IFS, put them on your classpath and go.

Start QSH and type: java -version

I see this:

java -version java version "1.4.2"

So, indeed, Java is available to you in QSH and you should be able to invoke any Java program in your classpath.

Pete


bill.blalock@xxxxxxxx wrote:
Pete:

I am confusing Qshell and PASE ... that is what reading the manuals quickly will get you! I was searching the Qshell documentation for commands, looking for ant. I want to run from the green screen, CL and the native AS400 environment.

We have the JVMs installed on our system (5722JV1 and 5722JC1)and I have used JDBC -- which is why I want to try out Hibernate.

We run most of our Java stuff (ant and hibernate) in i5/OS

Did you installed the binaries from hibernate.org and apache.org? If so do you install the Windows or Linix / Unix versions? Any tips on installing them?

Thanks again!

Bill B



Pete Helgren <Pete@xxxxxxxxxx>
10/19/2007 09:28 AM
Please respond to Java Programming on and around the iSeries / AS400
To: Java Programming on and around the iSeries / AS400 <java400-l@xxxxxxxxxxxx>
cc: (bcc: Bill Blalock/TUS/US/Certegy)
Subject: Re: Ant and Hibernate in QSH environment, natively on AS400


Bill, We run most of our Java stuff (ant and hibernate) in i5/OS so I don't have much experience of running Java applications in PASE. Is there a reason you want to run Ant and Hibernate within PASE rather than just with in JVM in i5/OS? I don't if there is a JVM installed within PASE. This infocenter article seems to indicate there is: http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzaha/rzahapaseexmplsmain.htm
If there isn't you'd need a JVM that runs on AIX and install that in PASE.
Pete Helgren bill.blalock@xxxxxxxx wrote:
Hi
Does anyone have any experience running Ant and Hibernate in the qsh environment, natively on the AS400?
Can you point me to any links?
Searching InfoCenter (V5R4) leads me to think that ant is not installed
in
PACE out of the box. Is that right?
THanks all Bill Blalock ------------------ The information contained in this message is proprietary and/or
confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.
------------------

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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.