IDE x64 itself as jdk. I built an artifact and got the executable file, everything works on my OS. But on systems x32, on windows XP for example, it does not start, because k is not x32. If I install the IDE x32 and jdk the same and do the same, then I will get what I am waiting for? Or can it be done on x64 for both systems? The application itself is on javafx, if it matters suddenly. Thank!
1 answer
um .. java multiplatform. Those. You write something 1 time and it should work everywhere. The java code is compiled into a byte code for jvm and it already executes it. As you can guess jvm on the machine is suitable, not suitable to put difficult.
Most likely the problem is in the executable file. Java applications are collected in jar archives that can be run on any jvm machine.
Try to build your project in jar and run it on all the machines you need. If the error persists, here xs. If the error goes away, then the problem is in the executable file.
PS .. IDE does not affect the project build
- If the error appears, it is better to put the stack here. And so, probably, apart from the difference (x32 / x64) you have different versions of java (for example, the project is written in 1.8, and XP is lower) - Alexander Savostyanov
- There is a kind of notion of the native package, the executable file is obtained along with jvm, i.e. in the folder everything you need is there and you don’t seem to need jvm installed on the client machine, although I could be wrong .. - Sebastian1
|