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



Tried puting code in root.
Tried CD to /Ians and compiling.
Tried as QSECOFR.

Still no go.

humphh...:-(

Ian.


-----Original Message-----
From: Bill Brosch [mailto:bbrosch@swiftorder.com]
Sent: Tuesday, 2 July 2002 23:01
To: 'java400-l@midrange.com'
Subject: RE: ** JAVAC V4R5 JDK1.3 problems **


Ian,

There is no package defined in your source, yet you are compiling it
into a package called ians.

Do the compile without the ians part, and see if that works.

Bill Brosch

Swift Technologies
920 Davis Rd - Suite 202
Elgin, Il 60123

email:  bbrosch@swiftorder.com
http:   www.swiftorder.com
phone:  847-289-8339
fax:    847-289-8939

-----Original Message-----
From: Ian Scotson [mailto:IanS@coogi.com.au]
Sent: Monday, July 01, 2002 7:38 PM
To: 'java400-l@midrange.com'
Subject: ** JAVAC V4R5 JDK1.3 problems **



What the hell am i doing wrong!!


Under V4R5 the std JDK 1.2 seem to work OK.
I can both compile and run Java stuff.

CMD ....+....1....+....2..
     ************Beginning
    java.version=1.2



After loading JDK 1.3 as per instructions ( apply GRP ptf, then
JDK 1.3 ), i changed System Properties file

Shows the following.
 > java -version
   java version "1.3.0"
   $

Based on IBM notes on WWW did the following.
/qibm/userdata/java400/systemdefault.properties


CMD ....+....1....+....2..
     ************Beginning
    java.version=1.3


Java stuff runs OK, ( eg: Tomcat, Soap services, JSP samples, etc)

BUT compiles dont work

Simple sample:

class Saluton {
    public static void main(String[] arguments) {
        String greeting = "Saluton mondo!";
        System.out.println(greeting);
    }
}



I use and get the following in QSH.

> echo $CLASSPATH


/QIBM/ProdData/Java400/jdk13/lib/tools.jar:/QIBM/ProdData/Java400/jdk13/
*.ja
r
  :/apache/soap-2_3_1/lib/soap.jar


> javac /ians/saluton.java
  /ians/saluton.java:2: cannot resolve symbol
  symbol  : class String
  location: class Saluton
      public static void main(String[] arguments) {
                              ^
  /ians/saluton.java:3: cannot resolve symbol
  symbol  : class String
location: class Saluton
        String greeting = "Saluton mondo!";
        ^
/ians/saluton.java:4: cannot resolve symbol
symbol  : class out
location: package System
        System.out.println(greeting);
              ^
3 errors
$





Its sending me bonkers!!!


Ive searched the WWW for days trying to figure what ive done wrong.
Ive seen a couple of other posting referring to this
BUT
never a solution.

PLEASE - can someone point me in the right direction before i give
up on this and do all our stuff on the PC ( which works fine .... )




Regards



Ian.


_______________________________________________
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.
_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.