Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

i have a java swing application made using

  • netbeans (jdk1.8.0_111)
  • jre1.8.0_111
  • pavapckager to create exe file
  • application has some library's

enter image description here

When i package i get a 64bit installer using javapackager which is expected. I am trying to create a 32bit installer. i have tried:

  • installing 32 bit jre and jdk
  • setting path to the 32bit version
  • changing netbeans config to use: netbeans_jdkhome="C:Program Files (x86)Javajdk1.8.0_111"
  • using : -Bruntime="C:Program Files (x86)Javajdk1.8.0_111jre" in the javapackager

How do i create a 32 bit Self-Contained Application Packaging using javapackager on a 64 bit windows system using netbeans

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
318 views
Welcome To Ask or Share your Answers For Others

1 Answer

after restarting my pc everything started to work.

this is what i done:

  • Install 32 bit jdk and jre
  • In netbeans project add a new platform and choose the 32 bit version (restart pc)
  • Install inno and set path.
  • run javapackager specifing the 32 bit i.e javapackager -deploy -native exe -B systemWide=true -Bruntime="C:Program Files (x86)Javajdk1.8.0_111jre" -Bshort cutHint=true -outdir packages ...etc
  • test with Exe64bitDetector

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...