Re: Need help Please !!!!

Peter Dow <[email protected]>
Newsgroups gmane.comp.lang.as400.java
Message-ID <[email protected]>
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
[email protected] <mailto:[email protected]>
[email protected] <mailto:[email protected]> /


On 10/19/2018 9:00 AM, Thomas Burrows wrote:
> Running V7R2
>
> On Fri, Oct 19, 2018 at 10:27 AM Buck Calabro <[email protected]> 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: [email protected]
>> To subscribe, unsubscribe, or change list options,
>> visit: https://lists.midrange.com/mailman/listinfo/java400-l
>> or email: [email protected]
>> Before posting, please take a moment to review the archives
>> at https://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: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.