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



To make sure there were no issues with the classpath, I did the following:

I removed the package statement from the source SystemProp.java.  I then
compiled SystemProp.java as follows:
    javac -verbose -d /com/ShipleyPgpEdi
/com/ShipleyPgpEdi/src/SystemProp.java
All compiled well.

I removed the package statement from the source newAS400Connection.java.  I
then compiled newAS400Connection,java as follows:
    javac -verbose -d /com/ShipleyPgpEdi
/com/ShipleyPgpEdi/src/newAS400Connection.java
All compiled well.

I added the package statement (package com.ShipleyPgpEdi;) to the source
SystemProp.java.  I then compiled SystemProp as follows (note that the only
difference is the destination option):
    javac -verbose -d / /com/ShipleyPgpEdi/src/SystemProp.java
All compiled well.

I added the package statement (package com.ShipleyPgpEdi;) to the source
newAS400Connection.java.  I then compiled newAS400Connection as follows
(again, note the destination option difference):
    javac -verbose -d / /com/ShipleyPgpEdi/src/newAS400Connection.java
Here is where I run into problems.  The compiler is unable to resolve the
SystemProp class.  The output is:

[parsing started /com/ShipleyPgpEdi/src/newAS400Connection.java]
[parsing completed 19399ms]
[loading /QIBM/ProdData/Java400/jdk13/lib/rt.jar(java/io/IOException.class)]
[loading
/QIBM/ProdData/HTTP/Public/jt400/lib/jt400.jar(com/ibm/as400/access/AS400.cl
ass)]
[loading
/QIBM/ProdData/HTTP/Public/jt400/lib/jt400.jar(com/ibm/as400/access/AS400Con
nectionPool.class)]
[loading
/QIBM/ProdData/HTTP/Public/jt400/lib/jt400.jar(com/ibm/as400/access/Connecti
onPoolException.class)]
[loading /QIBM/ProdData/Java400/jdk13/lib/rt.jar(java/lang/Object.class)]
[loading /QIBM/ProdData/Java400/jdk13/lib/rt.jar(java/lang/String.class)]

[checking com.ShipleyPgpEdi.newAS400Connection]
[loading
/QIBM/ProdData/HTTP/Public/jt400/lib/jt400.jar(com/ibm/as400/access/Connecti
onPool.class)]
[loading
/QIBM/ProdData/Java400/jdk13/lib/rt.jar(java/lang/StringBuffer.class)]
/com/ShipleyPgpEdi/src/newAS400Connection.java:71: cannot resolve symbol
symbol  : class SystemProp
location: class com.ShipleyPgpEdi.newAS400Connection
  SystemProp sp = new SystemProp();
  ^
/com/ShipleyPgpEdi/src/newAS400Connection.java:71: cannot resolve symbol
symbol  : class SystemProp
location: class com.ShipleyPgpEdi.newAS400Connection
  SystemProp sp = new SystemProp();
                      ^
[loading /QIBM/ProdData/Java400/jdk13/lib/rt.jar(java/lang/Throwable.class)]
[loading /QIBM/ProdData/Java400/jdk13/lib/rt.jar(java/lang/Exception.class)]
[loading /QIBM/ProdData/Java400/jdk13/lib/rt.jar(java/lang/System.class)]
[loading /QIBM/ProdData/Java400/jdk13/lib/rt.jar(java/io/PrintStream.class)]
[loading
/QIBM/ProdData/Java400/jdk13/lib/rt.jar(java/io/FilterOutputStream.class)]
[loading
/QIBM/ProdData/Java400/jdk13/lib/rt.jar(java/io/OutputStream.class)]
[total 52724ms]
2 errors

In all of these compiles, the classpath has remained the same.  Any
suggestions?

Mike

================================

Mike Silvers
AS/400 Senior Programmer/Analyst
AS/400 IBM Certified RPG IV Developer
AS/400 IBM Certified Solutions Expert
Hainey Business Systems
8 E. Canal St
Dover, PA 17315
Branch Office:  (410) 397-8739
Phone:  (800) 932-3380
Fax:  (717) 292-9474
Web: http://www.hbs-inc.com
________________________________
Providing E-Commerce, EDI, AS/400
Development and related services
nationwide.
================================




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.