Viewing Issue Advanced Details |
|||||
| ID | 0002590 | Category | [DMDirc] Installer, uninstaller and launchers | Severity | minor |
| Reproducibility | always | Date Submitted | 2009-06-01 20:29 | Last Update | 2010-07-11 21:11 |
| Reporter | MD87 | Assigned To | Zipplet | View Status | public |
| Priority | normal | Status | assigned | Resolution | open |
| Platform | Fixed in Version | Target Version | 0.6.5 | ||
| Product Version | Product Build | ||||
| Summary | 0002590: Installer reports java is incompatible when it's actually not installed | ||||
|
Description |
Installer reports java is incompatible when it's actually not installed
|
||||
| Needs unit test | no | ||||
| Upstream Bug URL | |||||
|
[ Relation Graph ]
[ Dependency Graph ]
Relationships |
|
Notes |
|
|
(0008944) Dataforce (administrator) 2010-01-14 19:07 edited on: 2010-01-14 19:10 |
This makes no sense to me :/ After experimenting I have come up with: Code that works: returncode := inttostr({$IFDEF FORCEJREDOWNLOAD}1{$ELSE}ExecAndWait(javaCommand+' -version'){$ENDIF}); showmessage('The return code was: '+returncode, 'DMDirc Setup'); if (returncode <> '0') then begin Code that doesn't work: returncode := inttostr({$IFDEF FORCEJREDOWNLOAD}1{$ELSE}ExecAndWait(javaCommand+' -version'){$ENDIF}); if (returncode <> '0') then begin yay for shit languages. |
|
(0008945) Dataforce (administrator) 2010-01-14 19:10 |
In the working code the return code appears to be "4379332" |
