Changeset 161 for trunk/Target/TargetJava.pas
- Timestamp:
- Aug 20, 2024, 12:20:49 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Target/TargetJava.pas
r153 r161 4 4 5 5 uses 6 Classes, SysUtils, FileUtil, Target, BFTarget, Dialogs ;6 Classes, SysUtils, FileUtil, Target, BFTarget, Dialogs, LazFileUtils; 7 7 8 8 type … … 14 14 function GetMemoryCell: string; 15 15 public 16 function GetRunParams: TStringArray; override; 16 17 constructor Create; override; 17 18 procedure Compile; override; … … 30 31 FSourceExtension := '.java'; 31 32 FCompiledExtension := '.class'; 32 FRunExtension := '.class';33 33 FImageIndex := 24; 34 34 FCapabilities := [tcCompile, tcRun]; … … 51 51 Result := Result + ' - ' + IntToStr(Abs(FProgram[FProgramIndex].RelIndex)); 52 52 Result := Result + ']'; 53 end; 54 55 function TTargetJava.GetRunParams: TStringArray; 56 begin 57 Result := ['-classpath', ExtractFileDir(GetCompileFileName), ExtractFileNameOnly(GetCompileFileName)]; 53 58 end; 54 59
Note:
See TracChangeset
for help on using the changeset viewer.