Reputation: 292
i am not a java developer so is it possible for me to develop java code on windows and then deploy the windows compiled .class files to a solaris server...would it run..
Upvotes: 4
Views: 291
Reputation: 375
as the others already said, it will most likely work. Id suggest you read some info on the Java Virtual Machine as this wonderful virtual device allows running java byte code on (nearly) any machine...
Upvotes: 1
Reputation: 41127
In general, It should. Mind it that class file don't run by themselves, you need to have java installed on the machine. It should also be compatible version.
Upvotes: 0
Reputation: 1154
Yes, it should.
However, watch out for the most common pitfalls like:
Upvotes: 5
Reputation: 3954
Yes, 99.9% of the time this is the case. There are some hiccups with non-Sun (read, IBM) JVMs that aren't perfectly cross-platform compatible.
Upvotes: 2
Reputation: 30449
Yes, that is specifically the premise behind Java's Write Once Run Anywhere motto
Upvotes: 5