?
Solved

Java. Which Operating System

Posted on 2003-03-14
3
Medium Priority
?
180 Views
Last Modified: 2010-03-31
Would appreciate the script to determine the Operating System on the Computer this page is running.
ie W98,W95,W2000,XP  ....
I need this ,to save people downloading a program, which will only run on certain versions.
0
Comment
Question by:kennedymr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 8139475
String os = System.getProperty("os.name");
0
 
LVL 2

Accepted Solution

by:
functionpointer earned 375 total points
ID: 8141202
i think your looking for javascript. navigator.appVersion or navigator.userAgent can tell you this.
you should post this in the javascript area.
0
 

Author Comment

by:kennedymr
ID: 8144777
Sorry i did mean to put this question in the javascript.
Thanks also for the java comment added.
Sorry for the confusion
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This video teaches viewers about errors in exception handling.
Suggested Courses
Course of the Month13 days, 19 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question