Touko
Touko

Reputation: 11779

Java applications with Windows 7 - are there compatibility concerns?

with some fuzz around Windows 7, does somebody have experiences with Java compatibility with Windows 7? Should this be a concern or do the programs probably work ok?

I'd be especially interested if somebody has experiences with Swing applications?

The versions available seem to be beta versions so they won't provide perfect basis for evaluation but some.

br, Touko

Upvotes: 2

Views: 4250

Answers (5)

user1033736
user1033736

Reputation: 37

There are several problem of swing application in windows7 there are stated below:

  1. JCheckBoxMenuItem will not show image

     JCheckBoxMenuItem(Icon,Text,boolean);//Icon will not displayed
    

you can refer the https://bugs.java.com/bugdatabase/view_bug?bug_id=7122141.

  1. Focus issues. Sometimes escape won't work

Upvotes: 1

Kevin Rahe
Kevin Rahe

Reputation: 1629

The problem I have with my Swing application on Windows 7 (and presumably Vista - haven't tried it), is that the Java Runtime indicates to Windows that it is UAC-aware, while my application that runs in the JVM actually isn't. As a result, if someone installs it into the traditional location (e.g. C:\Program Files\MyApp), the application fails because it cannot write configuration data or error log files to its installation directory. Because I use some third-party libraries that write their own files to the current (i.e. install) directory, and I've got many more important things to do than dig into those libraries just to make their error reporting and configuration storage UAC-aware, I took the path of least resistance and changed my default install directory to C:\MyApp. I realize that this is a regression back to the old DOS days where people ended up with myriad application directories in C:\, but it's not my fault that Windows' method of implementing UAC Virtualization for legacy applications doesn't work for Java apps.

Upvotes: 0

Touko
Touko

Reputation: 11779

Updating info related to the question:

According to Supported System Configurations for Java SE 6 and Java For Business 6 ,

Windows 7 support was introduced in 1.6.0_14 

From Java SE 6 Update 14 Release Notes changes:

6821003 hotspot runtime_system Update hotspot windows os_win32 for windows 7 

From Java SE 6 Update 18 Release Notes:

For 6u18, support has been added for the following system configurations:
    * Windows 7 support is now available

Upvotes: 3

Your biggest concern is having the right Java runtime installed. WHen that is out of the way you can expect properly written Swing programs to work identically.

(With proper I refer to not having hardcoded button sizes or similar)

Upvotes: 1

Jani Hartikainen
Jani Hartikainen

Reputation: 43273

I have been using various Java apps on my Win 7 x64 box just fine and never had any problems. Even some of my oldt poorly coded swing apps have worked without issues.

For the most part, Win 7 is Vista in new clothing. Shouldn't have much issues because of that.

Upvotes: 2

Related Questions