Opened 9 years ago

Closed 9 years ago

#46 closed defect (fixed)

Java installers cannot create directories

Reported by: dmik Owned by:
Priority: major Milestone: Beta 2
Component: general Version:
Severity: Keywords:
Cc:

Description

Neither the jEdit installer nor the iTrain installer (see #43) can create the installation directories.

Change History (2)

comment:1 Changed 9 years ago by dmik

Found the problem. java.io.File.mkdirs() does not work for some reason.

comment:2 Changed 9 years ago by dmik

  • Resolution set to fixed
  • Status changed from new to closed

It felt down to be an Odin problem: its implementation of the _fullpath()/_wfullpath() MSVCRT APIs was forwarding the job to _fullpath() of kLIBC, however, among other differences, the latter cannot resolve non-existing functions while the former is capable of doing so. Fortunately, the MSVCRT implementation present in Odin provided a necessary version of _fullpath() that it was switched to (r 21550 in Odin SVN).

After that, the problem with File.mkdirs() has gone. As well as the problems with both installers.

Note: See TracTickets for help on using tickets.