Thanks, but I can write, compile and run any Java program from SPF/PC (howbeit with some 'challenges') as long as it contains no "import" of classes etc. All I wanted to know is how to change the default ".java" extension to a 3-char one e.g. ".jav", that's all. I can deal with the rest. Thanks anyway. Cheers, Chris Poncelet
On 13/04/2020 10:31, David Crayford wrote: > I'm familiar with SPF/PC and that's great for simple editing with > something familiar from ISPF. > > However, if you want to learn Java beyond "hello world" you will need > an IDE. Java is a complex language and just creating > packages and classes is onerous using a text editor. You need context > assist and one-click refactoring to help you and either IDEA > or Eclipse will do that. > > On 2020-04-13 11:13 AM, CM Poncelet wrote: >> SPF/PC is the CTC PC-version of ISPF/PDF. It supports Rexx (but not the >> full IBM REXX), ISREDIT edit macros, primary and line commands, tables, >> panels etc., and it also supports assembling, compiling, link-editing >> and executing programs - all from within SPF/PC. >> I use it for writing Rexx, C, C++, MASM 6.1 (the Microsoft version of >> Intel assembler) and for just about everything else. >> The problem with compiling Java is that SPF/PC supports only DOS 8.3 >> format files, which then excludes ".java" extensions as shown below: >> >> javac C:\JAVA\MYPROGS\CH01\HELLO1~1.java > C:\JAVA\OUTPUT\HELLO1~1.OUT >> javac: file not found: C:\JAVA\MYPROGS\CH01\HELLO1~1.java >> Usage: javac <options> <source files> >> use -help for a list of possible options >> The alternative would be to use "Notepad", up with which I will not >> put. >> >> SPF/PC(1) ──────────────────── PRIMARY OPTION PANEL >> ───────────────────── V 4.0 >> OPTION ═══► >> >> 0 SPF/PC PARMS - Specify terminal and user parameters >> USERID - CMP >> 1 BROWSE - Display source data or output listings >> TIME - 03:50 >> 2 EDIT - Create or change source data OPER >> SYS - DOS >> 3 UTILITIES - Perform utility functions >> DATE - 20.097 >> 4 FOREGROUND - Invoke user applications in foreground >> 5 ENVIRONMENT - Display information about system configuration >> 6 COMMAND - Execute system command >> 7 DIALOG TEST - Perform dialog testing >> 8 EH? - Testing new features >> C CHANGES - Changes from last version >> T TUTORIAL - Display information about SPF/PC >> S SAMPLES - Sample panels and programs ▄▄▄ >> ▄▄▄▄ >> X EXIT - Terminate SPF/PC ▄▄▄▄─ >> ▄▄▄▄▄▄ >> ▄▄─▄▄─ >> ▄▄──▄▄─ >> Enter END command to terminate SPF/PC. ▄▄─ ▄▄─ >> ▄▄─ ▄▄─ >> ▄▄▄▄▄▄▄▄ >> ▄▄─ ▄▄─ >> VERSION 4.0.7 (C) COPYRIGHT ────▄▄── ▄▄ >> ▄▄▄▄▄▄─ >> COMMAND TECHNOLOGY CORP 1984, 1994 ▄▄─ ▄▄─ >> ▄▄▄▄── >> ── ── >> ──── >> >> >> >> On 12/04/2020 04:42, David Crayford wrote: >>> Instead of these work arounds to use a prehistoric DOS-based editor >>> why don't you switch to an IDE? >>> >>> The best IDE for Java is Intellij IDEA which has highly advanced code >>> analysis/refactoring features. What exactly does SPF/PC buy you? >>> >>> On 2020-04-12 10:56 AM, CM Poncelet wrote: >>>> No can do. The SPF/PC 4.0.7 editor is DOS-based, but has an >>>> extender to >>>> use whatever memory it needs > 640K. >>>> It's Windoze that needs fixing. >>>> >>>> >>>> On 12/04/2020 03:45, Paul Gilmartin wrote: >>>>> On Sun, 12 Apr 2020 03:40:58 +0100, CM Poncelet wrote: >>>>> >>>>>> Thanks, but never mind. >>>>>> The change to using '.jav' instead of '.java' for the compiler >>>>>> would >>>>>> have to be done at Java's implementation level, i.e. as a >>>>>> sysadmin or >>>>>> sysprog. I have found no-one among the Java developers and course >>>>>> tutors >>>>>> who could tell me how to do this. So I thought this list *might* >>>>>> know. >>>>>> >>>>> Better to fix the editor than to break the compiler. >>>>> >>>>> -- gil >>>>> >>>>> ---------------------------------------------------------------------- >>>>> >>>>> For IBM-MAIN subscribe / signoff / archive access instructions, >>>>> send email to lists...@listserv.ua.edu with the message: INFO >>>>> IBM-MAIN >>>>> . >>>>> >>>> ---------------------------------------------------------------------- >>>> For IBM-MAIN subscribe / signoff / archive access instructions, >>>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN >>> ---------------------------------------------------------------------- >>> For IBM-MAIN subscribe / signoff / archive access instructions, >>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN >>> . >>> >> ---------------------------------------------------------------------- >> For IBM-MAIN subscribe / signoff / archive access instructions, >> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > . > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN