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



Title: JAVAC under JDK 1.3 doesn't work

Hi,

I recently installed the JDK 1.3 (Licensed Program 5769JV1 option 5) on our V4R5 box. We are running with Cumulative PTF C110450 and Java group PTF SF99068-04 dated 03/02/01.

JAVAC does not work under JDK 1.3 - I get "cannot resolve symbol" errors on every line, for example, on a simple hello world program:

                                                        QSH Command Entry                           
                                                                                                    
  £                                                                                                 
> java -version                                                                                     
  java version "1.3.0"                                                                              
  £                                                                                                 
> javac hello.java                                                                                  
  hello.java:2: cannot resolve symbol                                                               
  symbol  : class String                                                                            
  location: class Hello                                                                             
       public static void main (String args^]) {                                                    
                                ¢                                                                   
  hello.java:3: cannot resolve symbol                                                               
  symbol  : class out                                                                               
  location: package System                                                                          
            System.out.println("Hello World");                                                      
                  ¢                                                                                 
  2 errors                                                                                          
  £                                                                                                 


I had created a SystemDefault.properties file and added the line java.version=1.3. I also added the symbolic links to the various JDK extensions, although this simple program only uses String and System.out.println.

If I change my SystemDefault.properties value to java.version=1.2, the JAVAC works fine.

Has anyone any ideas?

Thanks,

Darrell.

********************************************************************************
  This electronic mail system is used for information purposes and is
  not intended to form any legal contract or binding agreement.
  The content is confidential and may be legally privileged. Access
  by anyone other than the addressee(s) is unauthorised and any
  disclosure, copying, distribution or any other action taken in
  reliance on it is prohibited and maybe unlawful
********************************************************************************

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.