I am programing a software to edit some windows seven features with java...
Well the most important thing is that the program should not run on any operating system other then windows 7
So what is the code to see if the os is windows 7?
I am using this code
if(!System.getProperty("os.name").toLowerCase().equals("windows vista")||!System.getProperty("os.version").equals("6.1")){
JOptionPane.showMessageDialog(null, "Win7Plus only works on windows 7", "Win7Plus",JOptionPane.PLAIN_MESSAGE);
System.exit(0);
}
Although it is working it still feels wrong!!!
i mean ---> System.getProperty("os.name").toLowerCase().equals("windows vista")
Am i doing this the write way or should i use another code????
Icaros Shell Extensions 3.3.6 by Razvan Serea
Icaros is a collection of lightweight, high quality, Windows Shell Extensions. Icaros can provide Windows Explorer thumbnails, for essentially any video media format supported by FFmpeg, this includes popular filetypes such as: Mkv, Flv, Avi, Mp4, Mov, Rmvb, M2ts, Ogm etc.
Besides the FFmpeg supported filetypes, Icaros also contains custom parsers, which can produce Cover Art thumbnails for Mkv, Flac, Ape, Mpc and several other filetypes.
Icaros also provides Windows Explorer properties for the following popular filetypes: Mkv, Mk3d, Mp4, Mov, Webm, Ogm, Ogg, Flv, Avi, Rm, Rmvb, Flac, Opus, Spx, Ape, Mp3, Mpc, Mka, Tak, Tta, Ofr, Wav and more.
Properties refer to the info shown for each file in Explorer, such as length, width, height, title, channels and so on.
Icaros works on Vista, Windows 7, Windows 8/8.1, Windows 10 and Windows 11.
Icaros Shell Extensions 3.3.6 changelog:
Added support for Animated WEBP thumbnailing
Added support for UTF-8 filenames in CBX files (Comic book files)
Added support for rotation of MKV thumbnails
Added support for "Sort title" property in MKV files
Fixed some wav files not showing properties
Fixed some old h264 files producing green thumbnails
Fixed default level of MKV tags (now set to 50)
Updated FFmpeg
Download: Icaros Shell Extensions 3.3.6 | 12.8 MB (Freeware)
Download: Portable Icaros 3.3.6
View: Icaros Shell Extension Home Page | Screenshots 1 | 2
Get alerted to all of our Software updates on Twitter at @NeowinSoftware
No kidding, Tim, we've been running low on memory for a while now... get your head out of the Apple pixie dust cloud and come back down to earth with us peons.
Recent Achievements
Huge Trailer earned a badge Week One Done
Classifyskilleducation earned a badge Week One Done
Question
Teddy*
I am programing a software to edit some windows seven features with java...
Well the most important thing is that the program should not run on any operating system other then windows 7
So what is the code to see if the os is windows 7?
I am using this code
if(!System.getProperty("os.name").toLowerCase().equals("windows vista")||!System.getProperty("os.version").equals("6.1")){ JOptionPane.showMessageDialog(null, "Win7Plus only works on windows 7", "Win7Plus",JOptionPane.PLAIN_MESSAGE); System.exit(0); }Although it is working it still feels wrong!!!
i mean ---> System.getProperty("os.name").toLowerCase().equals("windows vista")
Am i doing this the write way or should i use another code????
Link to comment
https://www.neowin.net/forum/topic/846114-windows-7-is-windows-vista-v61/Share on other sites
12 answers to this question
Recommended Posts