Skip to content
Prev 18579 / 21312 Next

[Bioc-devel] JAVA_HOME cannot be determined on Windows on Bioconductor platform report

Hi Augustin,

Please don't rely on JAVA_HOME to detect Java. The JDK installer on 
Windows doesn't set this variable so you shouldn't expect it to be set 
on the user's machine. AFAIK the other Bioconductor packages that depend 
on Java don't use their own code to detect Java. Instead I believe that 
they run their Java code via rJava so they delegate to rJava the 
responsibility to find Java for them.

Here is the list of all Bioconductor packages that depend on rJava:

   ArrayExpressHTS
   (not supported on Windows)
   BridgeDbR

   CHRONOS

   debCAM

   esATAC

   gaggle

   Onassis

   ReQON

   RGMQL

   rmelting

   sarks

   SELEX


Feel free to take a look at how they handle this.

Cheers,
H.
On 18/10/2021 10:13, Vincent Carey wrote: