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



Be very careful doing that. It's not advised to put classes in the
system classpath like that. If your class name matched the name of a
class that already exists, including the package name, you could get
unexpected results. It would be like putting a program in QSYS or
something like that. It's just not really a good idea, even for
testing.

I usually just create a directory like /home/MYUSER/Java/classes then
put all my classes in there. Then do ADDENVVAR ENVVAR(CLASSPATH)
VALUE('.:/home/MYUSER/Java/classes/').

--
James R. Perkins



On Mon, Mar 22, 2010 at 07:45, <darren@xxxxxxxxx> wrote:
For testing, I'm putting the .class file in QIBM/UserData/Java400/ext since
that is a default class path for our JVM.  I signed off and signed on, once
I put it there, hoping that this was enough to have the JVM find the class
when I started it.  Once I've confirmed things working, I planned to move
it to a more appropriate directory, and mess with classpath then.




From:   "Dennis Lovelady" <iseries@xxxxxxxxxxxx>
To:     "'RPG programming on the IBM i / System i'"
           <rpg400-l@xxxxxxxxxxxx>
Date:   03/22/2010 10:26 AM
Subject:        RE: Improving Excel generation performance through calling Java
Sent by:        rpg400-l-bounces@xxxxxxxxxxxx



I'm still on a quest to improve our Excel document creation performance.
I've created the following java program to perform what Scott Klement's
RPG
service program did, to create a text cell, but doing the 4 steps in
Java
to hopefully get improved performance.  I'm having problems either
specifying the java header stuff correctly, or in specifying the RPG
prototype, because I get a java.lang.NoClassDefFoundError: HSSFtext
error
when calling a program using the prototype.  Can anyone see where I'm
going
wrong?

Is the java class that you defined actually in your CLASSPATH?

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"Peace: In international affairs, a period of cheating between two periods
of fighting."
       -- Ambrose Bierce



--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-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.