Java build

I am not a java developer, so I can develop java code on windows and then deploy the Windows compiled files to the Solaris server ... it will work.

+4
source share
6 answers

Yes it should be.

However, watch out for the most common traps like:

  • version incompatibility (e.g. class file version, runtime)
  • system resource descriptors (e.g. file paths)
+5
source

Yes, this, in particular, is the premise behind the Java Write Once Run Anywhere motto.

+5
source

Yes, java byte code (class files) is platform independent.

+2
source

Yes, in 99.9% of cases it is. There are some hiccups with non-Sun JVMs (read, IBM) that are not fully cross-platform compatible.

+2
source

as others have said, this is likely to work. Id suggests you read some information about the Java virtual machine, as this wonderful virtual device allows you to run java byte code on almost any machine ...

+1
source

In general, he should. Keep in mind that the class file does not start by itself, you need to install java on the machine. It must also be a compatible version.

0
source

Source: https://habr.com/ru/post/1299768/


All Articles