LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-26-2007, 08:19 AM   #1
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 241

Rep: Reputation: 31
Percentage of PCs w/ Java Runtime Environment?


Does anyone know? When I say PC I mean Windows, however, I would like to know the percentage of Macs that also have the Java Runtime Environment. I was considering what the viability was of creating desktop applications using Java as opposed to C++.
 
Old 03-26-2007, 08:35 AM   #2
taylor_venable
Member
 
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 43
I think the percentage of Macs with a JRE is 100% -- it comes pre-installed with OS X, I believe. As for Windows, I'd wager probably a lot (definitely more than half, probably around three-quarters or more).

As for the viability of writing a desktop application in C++ or Java, there are a lot more computers with a JRE than there are with a C++ compiler and an operator who knows how to use it. That's one of the benefits of Java. It's all too unfortunate that Perl / Python / Ruby haven't caught on to that point of market penetration yet, but things may be heading in that direction.
 
Old 03-26-2007, 11:45 AM   #3
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by taylor_venable
As for the viability of writing a desktop application in C++ or Java, there are a lot more computers with a JRE than there are with a C++ compiler and an operator who knows how to use it...

i am confused by this because you dont need a c/c++ compiler to run a program.

i would assume that java is a lot less popular than 5 years ago. because grandma used to need it to browse the internet but now webpages are much more dependant on flash.

Last edited by schneidz; 03-26-2007 at 11:47 AM.
 
Old 03-26-2007, 11:52 AM   #4
taylor_venable
Member
 
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 43
Quote:
Originally Posted by schneidz
i am confused by this because you dont need a c/c++ compiler to run a program.
Yes, that's true; I mistakenly assumed that it would be necessary to compile the program from source in the case of e.g. multiple architectures or varying environments. Of course, that's not necessarily the case, esp. since he was inquiring specifically about Windows & OS X.
 
Old 03-26-2007, 11:55 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by schneidz
i am confused by this because you dont need a c/c++ compiler to run a program.
That is perfectly correct. You do not need anything to run native code.
Quote:
i would assume that java is a lot less popular than 5 years ago. because grandma used to need it to browse the internet but now webpages are much more dependant on flash.
Java is indeed less popular in web pages, but far more popular on the server side, and possibly on standalone application side too.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Programming: Java Runtime Environment not found when trying to compile murbz Linux - Software 2 03-26-2009 03:04 AM
Java runtime environment WayneS Linux - Software 2 09-07-2006 04:47 PM
java runtime environment neilcpp Slackware 1 12-21-2005 05:45 AM
Java runtime environment Ab3n Linux - Newbie 5 08-19-2005 03:50 PM
Which Java Runtime Environment to use? r_jensen11 Linux - Software 4 09-13-2003 06:43 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration