× 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.



Not that I would recommend this, but when, my first encounter with Java on the IBMi was Giuseppe Costagliola's SQL2JXL command. He distributed the Java class file in a source physical file member (named SQL2JXLJ); however to compile it it you had to copy it to the IFS and use

QSH CMD('javac +
         -classpath /QIBM/ProdData/OS400/jt400/lib/jt400.jar:+
         /excel/jxl.jar: +
         -d /excel +
         /excel/SQL2JXL.java')

to compile it.  I made some minor modifications to it that way, but that was 14 years ago.  Compared to what's available today, it's sort of like using a rock to pound a nail - you can do it, but...(images of being on a desert island trying to build a raft and somehow having nails but not a hammer...)

--
*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
petercdow@xxxxxxxxx <mailto:petercdow@xxxxxxxxx>
pdow@xxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxx> /


On 10/19/2018 9:00 AM, Thomas Burrows wrote:
Running V7R2

On Fri, Oct 19, 2018 at 10:27 AM Buck Calabro <kc2hiz@xxxxxxxxx> wrote:

On 10/18/2018 10:10 PM, Thomas Burrows wrote:

How does one use Java programs if you do not have access to the IFS via
any
of the tools?

If you only have the QSHELL to work with.
What does 'do not have access' mean? Does your system admin forbid
mapped directories? Is FTP restricted? What tools are you trying to use?
The answers to this might allow more applicable advice, but mine would
be to create and test the Java code on your PC with a PC-based IDE like
Eclipse, and then FTP the classfile into the IFS.

Having an issue even getting a directory created from a command line in
QSHELL. Much less running a JAVAC.
What issue? Is there a specific error message? Can you post the mkdir
command that's problematic?

Is this a current IBM i release?

--
--buck

http://wiki.midrange.com
Your updates make it better!

--
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: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.




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.