Menu

#29 jedit.cmd Startup not working with Innotek Sun Java 1.4.2-05

open
nobody
None
5
2005-04-11
2005-04-11
Anonymous
No

jedit.cmd Startup not working with Innotek Sun Java
1.4.2-05

OS/2-startup-cmd jedit.cmd is not working with Innotek
Sun JRE 1.4.2-05.

The line:

return iMajor*100 + iMid * 10 + iMinor;

returns an arithmetric conversion error because iMinor
is "2-05", so 1*100 + 4*10 + 2-05 is not calculable!

Change this line to:

return iMajor*100 + iMid * 10 + left(iMinor,1);

Discussion


Log in to post a comment.