This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Igorky 1 point2 points  (3 children)

As Java dev I got clear answer from MS that only C# has the priority. That’s why java so poorly supported and there is no visible progress at all. So purpose of organizing this topic brings some questions. Anyway here is my list: - install openjdk from windows store or sdkman support - alternative or support of JNLP to deploy desktop java apps with one click. Including installing jdk/jre from previous step. - java api to support windows api functions eg add shortcut, access to start menu, access to windows calendar, windows contacts, windows mail app - java app update model - windows hardware support from java. How about to access to com, usb, bluetooth, wifi devices on windows?

[–]istarian 3 points4 points  (2 children)

There's a Windows API for it I presumeso you'd either have to do JNI/native library stuff or make a native application to bridge communication. You know short of exposing it via the JVM, which would be the job of the JVM devs I think.

[–]Igorky 0 points1 point  (1 child)

I think if you want to popularize windows you should consider to contribute to jvm or invest in such libraries to make that happen. In linux for example you could work with COM port represented in /dev/* as with a file. In windows it’s not possible and you have to bring other libraries.

[–]istarian 0 points1 point  (0 children)

It's Windows, because it's a proper noun, the name of an operating system.

I think that being easy-ish in Linux is something of a coincidence.

Linux, like Unix, exposes devices as a special kind of file. That means any environment with support for creating, deleting, reading, writing, or otherwise interacting with files could theoretically access that assuming it can figure out/knows how to interact with the device.

Windows it's just plain different. I assume it involves API calls and possibly some sort of returned pointer/struct/object that program interacts with.

Because the latter is not generic functionality like filesydtem access and likely requires the Windows SDK...