Task #2766

Improves the way the JRE is embedded

Added by Sebastien Jacquot almost 3 years ago. Updated over 1 year ago.

Status:New Start date:01/17/2020
Priority:High Due date:
Assignee:- % Done:


Category:Update Spent time: -
Target version:TXM 0.8.2


Embedding the JRE in the RCP feature leads to a bug when trying to update the JRE via Eclipse updates.
See #2764 for original bug.

Solution 0

(for 0.8.0 fix or 0.8.1 ? or later ?)

- stop to use build.properties of org.txm.rcp.feature for Window system and do the "jre" directory copy from the NSIS setup script
- it seems we can keep the build.properties for Linux and Mac
- build a new setup for Window

Solution 1

- change the way of embedding the JRE, use P2 and bundles, see: #2725
- NOTE: should permit to update or change the JRE directly from Eclipse Updates mechanism


The TXMUpdate handler file rights test fails on Windows: it does not detect the missing rights.

!installDirectory.canWrite() || !installDirectory.canExecute()

TXM.ini Magnifier (508 Bytes) Sebastien Jacquot, 01/17/2020 04:49 pm

Related issues

related to Task #2725: Change the way the JRE is embedded in TXM New 01/17/2020


#1 Updated by Sebastien Jacquot almost 3 years ago

  • Tracker changed from Bug to Task
  • Subject changed from Updates may fail on some Windows versions due to JRE files being used to Improves the way the JRE is embedded
  • Description updated (diff)

#2 Updated by Matthieu Decorde over 1 year ago

  • % Done changed from 0 to 80

Solution 0 is done, see #2725 for the solution 1

Also available in: Atom PDF