#92 Getting an architecture of x86 instead of amd64 in l4j.ini

closed-rejected
nobody
General (55)
5
2012-12-05
2011-03-31
No

Sample code of my myApp.exe.l4j.ini

-Djava.library.path="dist\lib\windows\rxtx\%PROCESSOR_ARCHITECTURE%"

I am using WIn7 64-bit, 64 bit Java JDK

Upon using %PROCESSOR_ARCHITECTURE% in l4j.ini , I'm getting x86 instead of AMD64.

Discussion

  • Denross Salenga

    Denross Salenga - 2011-04-01

    how to check this bug
    - must have 64-bit os with 64 bit JDK/JRE
    - running exe file from Launch4j for e.i. AppName.exe
    - create a file and AppName.l4j.ini
    - inside of it put %PROCESSOR_ARCHITECTURE%
    - run it on console if console else just double click it

     
  • Grzegorz Kowal

    Grzegorz Kowal - 2012-12-05
    • status: open --> closed-rejected
     
  • Grzegorz Kowal

    Grzegorz Kowal - 2012-12-05

    This is because the launcher it self is a 32-bit application. Get the value of this variable directly from Java.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks