CodesAway wrote:Why is it that so many hate Java?
If you produce Java software, please make one that is fully portable similar to XMind http://www.portablefreeware.com/?id=1732
Although some of us have our feelings about both, collectively this is neither a pro nor anti-Java / .NET web site.
I agree, I'm all about 100% portable code and software.
I wasn't worried about the feelings of the individuals, but more so the weaknesses of the language. I presume that people dislike Java for a reason. If it's because Java programmers can't code, then I just won't make that mistake :D. However, if it's something inherent into the language itself, I'm always looking to learn new languages - find the best tool for the job kind of thinking.
As for what I code, as of now, truthfully, I've never actually created an application - I'm a library developer - I develop tools to make the language more powerful / easier to use. For example, the links I shared aren't programs, but rather Java libraries which extend the standard library.
For my own learning, in the case that I ever do want to write an application, how would I ensure that the program is portable?
I presume that Java can't write to the registry (since that's a Windows only thing, and Java is all about "write once, run anywhere"), so I don't see that being a problem.
The only thing I can think of is that some may use the "user.home" System property vs the "user.dir" property for the directory when saving the program's configuration. The former saves it in a directory which is user dependent - for example, "C:\Users\UserName" on Vista. The latter saves it in the same folder that the JAR is located (aka the Application folder - portable). I would hope that the developer includes this as an option somewhere in the application - to allow both portable (single profile) and multi-profile (not portable) use.
Apart from these, what other portability concerns should I (and other Java developers) look out for? Thanks.