OS/2, eCS & ArcaOS - Technical > Applications

Java applications Jedit 5.1.0

<< < (3/6) > >>

Pete:
Hi G. M. Anchieri

Sorry to say that having made your recommended change to jedit.cmd all that happens is a different error:-

[J:\JAVA\JEDIT]jedit
    49 +++             Return iMajor * 100 + iMid * 10 + iMinor;
REX0041: Error 41 running J:\JAVA\JEDIT\jedit.cmd, line 49: Bad arithmetic
conversion
     2 +++   rc = QueryJavaVersion();

[J:\JAVA\JEDIT]


However, the jedit.cmd problems are not worth pursuing as when jedit is running it is not capable of reading files and directories so, sadly, jedit is of no use to me.


Regards

Pete








gamba:
Hi all,

I created a ticket about this problem: http://svn.netlabs.org/java/ticket/223

If it is really common to latest jEdit and jAlbum, it is not application related, IMHO.

Bye
Gabriele

ivan:
To bypass the problems with the cmd file I created a program object for this version, just as I have for the older versions.

As everyone has found it can be started but it is impossible to open any files - which as Pete says makes it useless.

The two attachments show the problem is with the way the file open dialogue just keeps on adding to the string by repeating everything - it will do this until it eventually causes a fault in java and libc065.

This raises the question of what has changed in the file open code in the new version as opposed to that which still works in the older versions?  Until that is answered and fixed, we OS/2 users are restricted to the older versions.

gamba:
Quoting dmik:

"My wild guess is that v5 uses some other Java API for path manipulation that triggers some Odin bug that doesn't affect other code paths. The bug may be a missing Win API implementation detail or such."

G. M. Anchieri:
Hi Pete

exist another mistake in jedit command, please replace the line:
parse var sStr sStuff '"'iMajor'.'iMid'.'iMinor'"'
in procedure: QueryJavaVersion with this:
parse var sStr sStuff '"'iMajor'.'iMid'.'iMinor'_'iLast'"'

and the error is gone.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version