Creating 32 bit JavaFx Native Bundle in 64 bit machine - bundle

I have my machine and IDE with following configuration
Product Version: NetBeans IDE 7.2 (Build 201207171143)
Java: 1.7.0_07; Java HotSpot(TM) 64-Bit Server VM 23.3-b01
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
The JavaFx bundle (.exe) created during build is of 64 bit. My users are in 32 bit machine so I need to create bundles in 32 bit. Is there any way I can create 32 bit exe files using my machine
Tried downloding 32 bit JDK and pointed the same in the project properties but i am not sure if the exe created in 32 bit or not because in task manager the application does not know *32 next to it.

You can by using a 32bit JDK:
<fx:platform basedir="C:\Program Files (x86)\Java\jdk1.8.0_121"/>

Related

JDK 8u74 64-bit + 32-bit + NetBeans.

I want to install BOTH the 64-bit and 32-bit JDK 8u74 on Windows 7 Pro 64-bit AND NetBeans. I want NetBeans to use the correct JVM depending on whether I code in 32 or 64-bit. I found zero info about the right way to go about this. Do I install the 32-bit JDK 8u74, then 64-bit JDK 8u74, then NetBeans?
I have no JDK installed now. I am just getting started and would really love to avoid an install nightmare and operating problems.

SonarQube - Unable to load the Wrapper's native library 'wrapper.dll'

I'm installing SonarQube v5.0.
I'm running Windows Server 2012 64-bit (a virtual OS), Java 1.8 64-bit, and the SonarQube windows-x86-64 wrapper.
SonarQube, whether run via StartSonar.bat using Command Prompt as Administrator or as a Windows Service, keeps throwing the following warning:
WARNING - Unable to load the Wrapper's native library 'wrapper.dll'.
The file is located on the path at the following location but
could not be loaded:
C:\sonarqube-5.0.1\bin\windows-x86-64\.\lib\wrapper.dll
Please verify that the file is readable by the current user
and that the file has not been corrupted in any way.
One common cause of this problem is running a 32-bit version
of the Wrapper with a 64-bit version of Java, or vica versa.
This is a 32-bit JVM.
Reported cause:
C:\sonarqube-5.0.1\bin\windows-x86-64\lib\wrapper.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
System signals will not be handled correctly.
The only info that I've found on the web is some JIRA's from 2010 that don't really help me. I can't create a sonar user on this Windows installation. All my other tools in my CI environment are running on Java 1.8 64-bit, which means that JAVA_HOME is set to JDK 1.8 64-bit. I really don't want to have to run Java 32-bit and the 32-bit Wrapper. That means that the JRE bin/java path at the top of wrapper.conf will have to specify the 32-bit JRE.
What can I do to get rid of this warning?
Not all applications use JAVA_HOME variable, so you can have JAVA_HOME pointing on your 64 bits version while you are using a 32 bits.
Note: the 'Java_Home' key in the registry is not the JAVA_HOME variable.
Well, one way to be sure is to uninstall the current service, with ..\windows-x86-64\UninstallNTService.bat and install the 32 bits version with ..\windows-x86-32\InstallNTService.bat.
If it works, you definitively have a 32 bits JVM.
Installed the service SonarQube in \sonarqube-5.1.2\bin\windows-x86-64.
I just went to the SonarQube in the Windows Services-->go to properties-->Log On tab--->select 'Local Service'(Entered the system password). Thats it!
Issue was resolved.
Hope this helps someone who was not able to resolve from the above posts.
I experienced the same problem with SonarQube 5.6.4 on Windows 7. Editing the sonar.properties file to add a wrapper.java.command=... had no effect. Editing my path statement did the trick, though.
The first two folders in my path statement had been
C:\ProgramData\Oracle\Java\javapath;C:\dev\sdks\jdk1.8.0_112\bin;....
The java.exe in the first (C:\ProgramData\Oracle\Java\javapath) is 32-bit. I just switched the two in my path:
C:\dev\sdks\jdk1.8.0_112\bin;C:\ProgramData\Oracle\Java\javapath;...
Suddenly SonarQube started using the 64-bit java.exe in C:\dev\sdks\jdk1.8.0_112\bin
After making this change, I was able to restart Firefox without any difficulty.
In my case, running on SonarQube 7.3 on window 7 or window 10, I have to update Java version to java 8 to pass this error.
No need for this, In my case I just Installed Java SE JDK 11.0.16 and installed it, and restarted the sonar server and it worked. Below is the URL to download
https://www.techspot.com/downloads/5553-java-jdk.html

Installation of Websphere 8 in Windows

I am trying to install Websphere Application Server 8.5 in Windows 7 64 bits but I have had difficulties.
The server is Windows 7 64 bits and I am using the Installation Manager.
I tried to use both the 64 bits version (DEVELOPERSILAN.agent.installer.win32.win32.x86_64) and the 32 bits (DEVELOPERSILAN.agent.installer.win32.win32.x86) but I got the message:
The package com.ibm.websphere.DEVELOPERSILAN.v85 specified in the install.xml file wasn't located. The same message for IBMJAVA.v70, liberty.IBMJAVA.v70, IHSILAN.V85, APPCLIENTEILAN.v85, PLGILAN.v85, PLUGCLIENTILAN.v85, WCTILAN.v85, W2MTKILAN.v11 and liberty.DEVELOPERSILAN.v85.
Should I install anything else before the Installation Manager?
I recently downloaded WAS8.5 on Windows R2 2008. Hope I could answer your question.
Installer Manager 32-bit will work.
Did you add the repository with file name "repository.config" to the Installation Manager?
This should be same for any product when you install from Installation Manager.
Make sure to provide Admin privileges to the IM when starting it.

iExpress incompatibility with Windows 7, 32 bit?

When I create an .exe with iExpress (in Windows 8) and try to run it on Win7, 32 bit, I get an error dialog that says: "The version of this file is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need an x86 (32 bit) or x64 (64 bit) version of the program."
Is an iExpress .exe incompatible with Win 7 32 bit??
It sounds very much like you are creating a 64 bit executable, which cannot run on a 32 bit system. If you use the IExpress version from the 64 bit system directory, C:\Windows\System32, then you will indeed create a 64 bit executable.
You'll need to create a 32 bit executable instead, which you can do by running the 32 bit version of IExpress. That is found in the 32 bit system directory, C:\Windows\SysWOW64. Or you can use your 32 bit machine to create the executable.

java showing as 32 bit in task manager for my 64 bit machine

I have installed jdk 64 bit on my windows 7 running 64 bit OS.
I have also set the path environment variable as
C:\Program Files\Java\jre7\bin
Also when I check the version of java in cmd shows the following:
java version "1.7.0_11"
Java Hotspot(TM) 64-bit serve VM
Now the problem is when I check in task manager it shows the process name as "java.exe *32"
Some of the applications I install complain that I am using 32 bit jdk on my 64 bit machine.
The most likely explanation is that you actually have both 32 bit and 64 bit versions of Java installed, and that some applications are using the 32 bit version, due to the way that they / your system is configured.
You may not have explicitly installed 32 bit Java. It is possible that some of the applications include an embedded 32 bit JRE installation.
If you have an application that insists that it won't run on a 32bit JRE, your options include:
look for and uninstall any explicitly installed (standalone) 32-bit JREs,
get hold of a 32-bit version of the application, or
read the installation / configuration documentation for the application for clues on how to force it to use a specific installation.

Resources