Jump to content

Talk:Java (programming language): Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
reply
Line 31: Line 31:
Or it's not the most important enterprise software development platform today. It really depends on who you're talking to. You might make an argument for most /popular/ but if you're going to do that, include some statistics, thanks.[[User:137.48.130.200|137.48.130.200]] 17:56, 8 October 2007 (UTC)
Or it's not the most important enterprise software development platform today. It really depends on who you're talking to. You might make an argument for most /popular/ but if you're going to do that, include some statistics, thanks.[[User:137.48.130.200|137.48.130.200]] 17:56, 8 October 2007 (UTC)
:@80: Even C++ has mid-importance in the Computer Science WikiProject. For [[Wikipedia:WikiProject Programming languages]] evaluation, this article should have high importance; in terms of Computer Science; I'm not so sure. If you think that APL should also be rated as mid-importance, or that all major programming languages should be high-importance, please effect that change (ideally with discussion first [[Wikipedia talk:WikiProject Computer science|here]]). Evaluation of importance is specific to a WikiProject's need to prioritize improving certain articles, and is a tool, not a description to help or hurt its subject's image. [[User:Gracenotes|<span style="color:#960;">Grace</span><span style="color:#000;">notes</span>]]<sup>[[User talk:Gracenotes|<span style="color:#960;">T</span>]]</sup> <span title="Talk:Java (programming language)">§</span> 06:46, 14 October 2007 (UTC)
:@80: Even C++ has mid-importance in the Computer Science WikiProject. For [[Wikipedia:WikiProject Programming languages]] evaluation, this article should have high importance; in terms of Computer Science; I'm not so sure. If you think that APL should also be rated as mid-importance, or that all major programming languages should be high-importance, please effect that change (ideally with discussion first [[Wikipedia talk:WikiProject Computer science|here]]). Evaluation of importance is specific to a WikiProject's need to prioritize improving certain articles, and is a tool, not a description to help or hurt its subject's image. [[User:Gracenotes|<span style="color:#960;">Grace</span><span style="color:#000;">notes</span>]]<sup>[[User talk:Gracenotes|<span style="color:#960;">T</span>]]</sup> <span title="Talk:Java (programming language)">§</span> 06:46, 14 October 2007 (UTC)

@anyone who reads this: Java is not the best programming language out there. It is actually the worst programming language (in my opinion) out there. It does not have the debugging features that, say, Visual Basic would have, and it is extremely strict. The only thing I can possibly think that Java is actually 100% useful for is to write java applets in which you can imbed into web pages. --[[User:TrekCaptainUSA|TrekCaptainUSA]] ([[User talk:TrekCaptainUSA|talk]]) 15:00, 24 October 2008 (UTC)


== Java update ==
== Java update ==

Revision as of 15:00, 24 October 2008

Former featured articleJava (programming language) is a former featured article. Please see the links under Article milestones below for its original nomination page (for older articles, check the nomination archive) and why it was removed.
Main Page trophyThis article appeared on Wikipedia's Main Page as Today's featured article on December 17, 2005.
Article milestones
DateProcessResult
March 23, 2004Featured article candidatePromoted
June 24, 2005Featured article reviewKept
July 25, 2006Featured article reviewDemoted
August 8, 2006Good article nomineeNot listed
June 15, 2008Peer reviewReviewed
Current status: Former featured article

Difficult for Non-Computer Science Reader

Coudl something be added to this article that would make it clear to a non-expert reader what the importance of Java is? --Girl2k 16:25, 30 July 2007 (UTC)[reply]

I'm trying to cut down on the unnecessary geekishness just now. Once the article is shorter and has more focus I'll try to add a section about Java's applications and how its use has affected the computing world. Chris Cunningham 17:45, 30 July 2007 (UTC)[reply]

I appreciate the idea of adding a section concerning use of Java, but I'm concerned about the general difficulty of the main article for a non-computer science reader. The point of Wikipedia, it seems to me, is to create articles for common folks who have, let's say, graduated high school. This article is opaque to me and I have a liberal arts MA. The article assumes far too much about my prior knowledge. Trying to understand the definitions doesn't work because the linked terms simply hyper me over to other, similarly difficult articles. The article (and many others) would benefit from a knowledgeable person adding simple metaphors. For example, is a library a toolbox and each class is a tool? Also, defining each term separately, rather than tossing six terms in a sentence would be great. Thanks. BeholdMan (talk) 05:35, 7 February 2008 (UTC)[reply]

I guess with enough education you can convince people that white is black, but they would just get hit at the next zebra crossing. done 128.206.82.41 (talk) 16:54, 5 September 2008 (UTC)[reply]

Importance rating

How come that this article gets only a "Mid" importance rating, when APL (sic!) gets a "High" rating?? I can only laugh on that. While APL is nothing more than an object of ridicule nowadays, Java is one of the most important - if not THE most important - enterprise software development platforms today. —Preceding unsigned comment added by 80.108.109.173 (talk) 19:13, 23 September 2007 (UTC)[reply]

Or it's not the most important enterprise software development platform today. It really depends on who you're talking to. You might make an argument for most /popular/ but if you're going to do that, include some statistics, thanks.137.48.130.200 17:56, 8 October 2007 (UTC)[reply]

@80: Even C++ has mid-importance in the Computer Science WikiProject. For Wikipedia:WikiProject Programming languages evaluation, this article should have high importance; in terms of Computer Science; I'm not so sure. If you think that APL should also be rated as mid-importance, or that all major programming languages should be high-importance, please effect that change (ideally with discussion first here). Evaluation of importance is specific to a WikiProject's need to prioritize improving certain articles, and is a tool, not a description to help or hurt its subject's image. GracenotesT § 06:46, 14 October 2007 (UTC)[reply]

@anyone who reads this: Java is not the best programming language out there. It is actually the worst programming language (in my opinion) out there. It does not have the debugging features that, say, Visual Basic would have, and it is extremely strict. The only thing I can possibly think that Java is actually 100% useful for is to write java applets in which you can imbed into web pages. --TrekCaptainUSA (talk) 15:00, 24 October 2008 (UTC)[reply]

Java update

Every time I start up my laptop, I get an annoying reminder that there is a Java update ready to download and install. A few minutes ago, I finally gave in and installed it. The problem is, I don't know what the hell Java is, and this article doesn't really help. The installation set-up only said that the download will make my "Internet experience richer." So, can someone explain what the Java program or whatever really is? This article, like almost all computer-related articles on Wikipedia, is all technical jargon and doesn't make any sense to me. —Preceding unsigned comment added by 71.107.134.163 (talk) 11:54, 20 October 2007 (UTC) I can download the update, and I can download a Shockwave Update. 65.43.178.200 12:11, 12 November 2007 (UTC)Kinz[reply]

What you have is a Java Plugin that runs Java applets in your browser, that are similar to Flash and ActiveX plugins. Those programs are used to create better interactive pages and normally the user will be unaware of it existence if everything is right and that is the reason for the constant updates. The other plataforms also have similar updates, but normally without notifying the user. This aspect of the Java technology is, however, a small portion (and quite francly one part in disuse) and this article had to deal with the entire aspect of the technology, making a good part of this technical jargon and doesnt making much sense to ppl outside of the software development market. Alvaroludolf 12:48, 25 October 2007 (UTC)[reply]
Not that this is a general discussion forum or anything, but for what it's worth the relevant article is Java (Sun) and the "technical jargon" here is no worse than that on random chemistry articles. For some reason, people seem to assume that computer science shouldn't be treated in a scientific manner on Wikipedia even though other sciences are. Chris Cunningham 12:58, 25 October 2007 (UTC)[reply]
I'm sorry you couldn't get the answers you needed. I agree the article is too techie. Maybe a techie will improve this. I'll try to help. In plain English, Java is a software technology that lets Web pages run programs on your computer, if you choose to allow them to. For example, if you want to play Yahoo Text Twist, you go to http://get.games.yahoo.com/proddesc?gamekey=texttwist and click on "Play Web Game (free)". You will see the Java symbol and a progress bar as the game loads. The Java technology is what runs the game in your browser.
Java is considered much safer than its competitor, Microsoft's ActiveX technology. The United States Computer Emergency Readiness Team, a division of the US Department of Homeland Security, has noted numerous critical security flaws in ActiveX, including in MySpace and Facebook, which could allow an attacker to take control of your computer. They "are currently unaware of a practical solution to this problem", and therefore recommend that you disable all ActiveX capability in Internet Explorer. They give instructions to do so, but an easier solution is to use a browser like Mozilla Firefox that inherently does not support (run) ActiveX programs. You will still need Internet Explorer and its ActiveX to get the latest Windows security fixes from the Microsoft Update page. These are issued the second Tuesday of each month and you need them for your safety. Other than that, Internet Explorer and ActiveX are unsafe and should not be used.
The automatic updating of your Java can be controlled if you like. Going back to playing the Text Twist game, you will see a Java icon in at the bottom of your screen. I think it's supposed to represent a cup of coffee ("Java"), but it's two blue lines with a red thing above. The large version is shown in this article. If in doubt, hover the mouse pointer over it and it will say "Java (TM) Platform, Standard Edition". Right-click this icon, then click "Open Control Panel". Click the "Update" tab. If you wish, you can uncheck "Check for updates automatically". However, these updates too may be for security reasons, so it's probably better to continue to allow them and install them.
65.43.178.200 has made the common error of confusing Java and Javascript. As Cynic783 points out, these are two completely different technologies. The reasons for this unfortunate confusion can be found in the Javascript article if you are interested. The important thing is that Javascript is also dangerous, the source of many current security issues for all Web browsers. The aforementioned US-CERT recommends adding the NoScript program to your Firefox browser. With this free addition, you can disable all Javascripting by default. When a trusted site (your bank) wants to run a Javascript, you can click and verify that it comes from the trusted source and allow it permanently (it won't have to ask you again). When a site (like Yahoo email) tries to run scripts from multiple sources, you can allow the script from Yahoo while forbidding the script from advertising.com or DoubleClick.net. This ability to discriminate among scripts coming from the same Web page is not available in Internet Explorer.
I'm not connected with Sun Microsystems, Mozilla/Firefox, or NoScript. I'm just another dumb user trying to stay safe in a shark-infested Internet. All of the above is free software and the POV is that of the US Dept. of Homeland Security. I agree that these articles should be more accessible to average users. Hope this helps. 24.110.24.175 (talk) 10:54, 19 February 2008 (UTC)[reply]

Java or Java Script?

Should it be called Java or should it be called Java Script? 65.43.178.200 12:09, 12 November 2007 (UTC)Kinz[reply]

The programming language is called Java. JavaScript is a scripting language used mainly for web page functionality. Java is not JavaScript - JavaScript was confusingly named to play off of the Java name.

I've not checked, but as the two are distinct entities, JavaScript should have it's own page. Minkythecat (talk) 13:56, 11 March 2008 (UTC)[reply]

JavaScript is formally a ECMAScript dialect (the first and original dialect). They have their own articles. Said: Rursus () 13:16, 20 October 2008 (UTC)[reply]

I would like to say something: JavaScript is very loosely based off of the Java language, however, it is its own separate entity and programming language. So, in regards to the argument of should this article be Java or JavaScript, it should be Java because JavaScript has its own language (similar to java, but not in its functions and their execution). --TrekCaptainUSA (talk) 14:38, 20 October 2008 (UTC)[reply]

Java Updated

I have just updated my Java Script. 65.43.178.200 12:22, 12 November 2007 (UTC)Kinz[reply]

Javascript is a separate language with different syntax. I have never heard anyone say they have just updated their Java script...they say Java app or applet or class or jar file. I have been developing Java software for 11+ years.Cynic783 18:15, 14 November 2007 (UTC)[reply]

Bad OOP example

I think the OddEven class is a bad OOP example. It is a bad practice to take user inputs from a constructor. I suggest that the constructor should be changed to take an int as parameter and the user input is taken from the main method. Chinhnt2k3 (talk) 04:48, 17 November 2007 (UTC)Chinhnt2k3[reply]

I tried to improve the example a bit. Hervegirod (talk) 12:38, 17 November 2007 (UTC)[reply]
Good job! Maybe you should update the explanation below it too Chinhnt2k3 (talk) 07:32, 20 November 2007 (UTC)Chinhnt2k3[reply]

"Java Class"

There is a random section, the first one, in fact, called "Java Class," explaining that anyone considering taking a Java class should not, especially "if it is the last class of the day." I am having trouble getting rid of it. Franciscoh (talk) 18:54, 21 November 2007 (UTC)[reply]

Too technical

Wiki is great for getting a quick and dirty definition (that may take hours to research via the web) - except for technical matters! I would like to urge the techies to try to speak English - at least for the intro to their topics. I hear about Java all the time, but have no idea what it is. This page on Java doesn't help. The very first sentence should explain what Java is - because that is why we are coming to wiki to search for it. How do i tell if a web page i'm looking at is written in Java or something else? torus742 67.180.217.46 (talk) 06:28, 19 January 2008 (UTC)[reply]

It explains that Java is a programming language. Programming languages have a great deal of uses, only one of which is writing web pages. There's no definitive way to tell what language a web page is "written in"; it can be manually created by an author with HTML, or it can be generated by a web server which runs programs written in Java or PHP (amongst others). There's only so much an article lead can be simplified when it deals with a complicated subject; a panda can be explained as a big bear-like thing which lives in China, because "bear" and "China" are pretty familiar concepts to people. Web servers and language compilers aren't, but it's all we can define programming languages in terms of. Chris Cunningham (talk) 10:58, 19 January 2008 (UTC)[reply]

Missing topics

I miss a topic about the evolution of Java, it's many versions, and what changed between them. A timeline would also be great. Ramiro Pereira de Magalhães (talk) 17:49, 29 January 2008 (UTC)[reply]

Examples

These are far too detailed and far too much like tutorial content. They should all be removed, and only snippets should be re-added if absolutely necessary. Chris Cunningham (not at work) - talk 19:16, 14 March 2008 (UTC)[reply]

Totally agree. People would look at this page to find out about Java the language, not for programming examples. Minkythecat (talk) 13:12, 30 April 2008 (UTC)[reply]
I agree as well. Though I do think the "Hello World" program should be kept (maybe a program for each section, just to show the differences?). Also, along with the extraneous programs, the explanation of each one (to the point where the explanation is 5 times longer than the program) should be eliminated. --Tustin2121 (talk) 21:18, 9 June 2008 (UTC)[reply]

Productivity

This section should be removed: It is clearly POV, and using a very old reference (Java 1.2.1, benchmarks seem to be from 1999) whose conclusion are also very questionable, even at the time. Some quotes:

  • In terms of run time and memory consumption, (scripting languages) often turn out better than Java and not much worse than C or C++. On the contrary, the last Computer language Shootout shows a factor 13 between Java and Python or Perl, 29 between Java and Tcl, 15 between Java and PHP, etc... I don't present the figures with C / C++ because it would be ridiculous,
  • The article deal with some very specific types of programs (string manipulation and search in a dictionary). The section makes a generalization that is not in the original source conclusions.
  • It is an interesting observation that despite the existence of hash table implementations in both the Java and the C++ class libraries none of the non-script programmers used them (but rather implemented a tree solution by hand) : I never saw anyone redesigning by hand collections implementations in Java since a lot of years, except for very specific cases (for example Hashtables with an exceptionally huge number of key-value pairs)
  • In contrast, essentially all of the non-script programmers chose either of the following solutions. In the simple case, they simply store the whole dictionary in an array : No real Java programmer would do that. I bet that they asked C programmers with no experience in other languages do the programming in Java (which I may understand, there were less Java programmers in 1997 !!)
  • The Java work times appear to be a bit pessimistic, probably due to the lower language experience of the 1997/1998 Java programmers. : sic !!!
  • Even in the group-aggregated view with its much larger groups, the difference between C/C++ and scripts is not significant, only Java is less productive than scripts. Hervegirod (talk) 22:25, 18 March 2008 (UTC)[reply]
Finally removed this part, we need to find a reference which is less flawed and also deals about a version of Java greater than Java 1.2.1 Hervegirod (talk) 09:28, 29 March 2008 (UTC)[reply]


Performance

The article claims:

Dynamic recompilation can achieve optimizations superior to static compilation because the dynamic compiler can base optimizations on knowledge about the runtime environment and the set of loaded classes, and can identify the hot spots (parts of the program, often inner loops, that take up the most execution time)

This is bogus. You can profile a static compiled programm and give this input to your compiler to recompile your programm with this information. —Preceding unsigned comment added by 87.123.216.181 (talk) 23:11, 14 May 2008 (UTC)[reply]


GPL license.. which version?

The article is ambiguous in its reference to GPL. I see some press releases from 2006 that say that its released under the GPLv2 but then Sun relicensed OOo under the GPLv3 recently. Is this still GPLv2? 203.97.255.148 (talk) 07:21, 28 July 2008 (UTC)[reply]

According to http://www.java.com/en/download/license.jsp Java is provided under the "Sun Binary Code Licence Agreement." —Preceding unsigned comment added by 137.226.168.122 (talk) 13:13, 4 August 2008 (UTC)[reply]
Java is released by Sun under several licenses: Because Sun owns the copyright for the open-source code base, Sun is able to license each copy of this code base distributed by Sun, under any license, including a commercial software license. This right is inherent in copyright law. Several Free and open-source communities also follow this practice. (see FAQ here. It means that you can download the regular JDK under this proprietary binary code license agreement, but also, as OpenJDK, under GPLv2. Hervegirod (talk) 18:44, 4 August 2008 (UTC)[reply]

Java and wikimedia software

If anyone is kind and has a moment, I'm just wondering if you could point me in the right direction, perhaps to a help page or FAQ somewhere: I want to put a java menu on the mainpage of a wiki. I'm very new at this. I don't know how this might be done in a wiki. Everything I do either breaks it or just doesn't work. ——Martinphi Ψ Φ—— 06:10, 15 August 2008 (UTC)[reply]

Reference POV

Can this reference possibly be anymore POV.

http://www.kano.net/javabench/

"I didn't bother debugging the C++ because I didn't know how."

Please. —Preceding unsigned comment added by 128.206.82.41 (talk) 21:53, 20 August 2008 (UTC)[reply]

You're kidding? But it says it's the "The Java is Faster than C++ and C++ Sucks Unbiased Benchmark" o_O;; You're absolutely right. Removing it. Mfb52 (talk) 07:47, 22 August 2008 (UTC)[reply]
Thank you, now if we could just get java programmers to realize that 90% of the JRE code is written in C and C++, thank you GNU and the Gimp toolkit and so the whole comparison of Java to both C and C++ is really just shooting themselves in the foot.
http://java.sun.com/javase/6/
"We've added subpixel font rendering and improved our GIMP Toolkit (GTK+) and Windows look and feel."
Ah, but what can be expected from the language that was designed to replace COBOL. —Preceding unsigned comment added by 128.206.82.41 (talk) 16:13, 22 August 2008 (UTC)[reply]

Criticisim

It looks to me that the Criticism section of this article is written in a very defensive tone. Instead of stating the criticisms of Java in a neutral light, it looks like it was written by a single user to defend criticisms that other people have made. This needs to be fixed, if Java is really as great as the current Criticism section makes out then it shouldn't need to be defended like that. 122.109.102.193 (talk) 12:54, 25 August 2008 (UTC)[reply]

There's no need to have a "criticism" section at all. The various criticisms should be addressed in the course of the article, not lumped into one place for random people to air their grudges with the language. Chris Cunningham (not at work) - talk 13:26, 25 August 2008 (UTC)[reply]
I see this continuously with Java, a theoretical concept with large gaps between the theory and practise. This article conveniently forked the conversation Java language and theory and Java JRE or impelementation. Ultimately I have only ever used one or some online simple applets, and a java student web protal, which has been replaced, so in the course of my computer experience java plays a very small role, and I believe this to be the case with most computer users experiences. Yet Java is very extensively taught at most universities to undergraduate business students. The language is continuously changed by the business sector, and is not standardized, so arguing against any one point and there are very many, is probably useless as is java.
Too easy for beginners and too difficult for professionals, I suggest this article "Keep It Simple!" Discussing the language with a proprietary standard is useless, eliminate the philosophical section about the language, and focus on the chronological development of the JRE, and giving credit to the GNU libraries that were used in the construction. 128.206.82.41 (talk) 16:20, 25 August 2008 (UTC)done[reply]
Not gonna happen. Chris Cunningham (not at work) - talk 17:42, 25 August 2008 (UTC)[reply]
Sure it is with their fingers. 128.206.82.41 (talk) 19:11, 25 August 2008 (UTC)done[reply]

Abstract Syntax

Since many languages can be compiled to a Java Virtual Machine. The operational definition in the last sentence of the first paragraph, needs to be rephrased. 1) Many languages Ada, C, C++ can be compiled to run on the JVM. 2)Java can be compiled directly to machine code.

Furthermore for the naive reader, Virtual Machine may be better discussed elsewhere in the article, since to understand the first paragraph, one would already have to be familiar with the Virtual Machine. —Preceding unsigned comment added by 128.206.82.41 (talk) 19:52, 27 August 2008 (UTC)[reply]

Yes, it's true that many language may run on the JVM, but that's not relevant to the lead section of the Java article. It's certainly appropriate to the JVM article, and indeed, it is mentioned in the lead there.
I'm afraid that that would make this article NPOV.
I guess it's also true that Java may be compiled to machine code, but this isn't common practice, not by a long stretch. The lead describes compilation to JVM bytecode as "typical", which I think is all that needs to be said at that point, as the lead is supposed to be a synopsis, not an enumeration of all possibilities.
NPOV?
The JVM is described at the JVM article, which is linked in the lead. An in-depth discussion isn't appropriate for this article, because it's not a part of the language. However, you're right, perhaps a brief summary of what a JVM is may help set the scene a little better. Oli Filth(talk|contribs) 19:59, 27 August 2008 (UTC)[reply]
NPOV?
If it is not possible for the sake of brevity to enumerate all the problems with a statement, then it is better not to say it, IE that sentence should be removed because there are problems with its validity. Is it a definition wiki of Java for java programmers or a wiki of java for the rest of us? —Preceding unsigned comment added by 128.206.82.41 (talkcontribs) 21:18, 27 August 2008
I'm not sure you necessarily understand what WP:NPOV is about. It is not about mentioning things that are irrelevant (e.g. the fact that Ada compiles to JVM is irrelevant to an article about the Java programming language). It is also not about providing equal weight that are overwhelmingly less common that the norm (e.g. compiling Java to machine code), especially in the article lead; see WP:UNDUE and the like.
The sentence as it stands is completely valid, as it is completely true, and doesn't purport to be a "definition". I see no reason to remove it. Oli Filth(talk|contribs) 20:27, 27 August 2008 (UTC)[reply]
Are you trying to wiki Java or wiki wiki lets talk about relevance and NPOV. I said that if you can't enumerate everything that is wrong with a statement then you better not say it. Java is not the end all be all language... Java is not the definition of language, Java is a subset of Computer Languages, and as are most Computer Languages architecture independent so is Java. This concept is very relevant to this article. If Java is not a computer language what is this article about anyway?
Please prove that any other language is architecture dependent? —Preceding unsigned comment added by 128.206.82.41 (talkcontribs) 21:51, 27 August 2008
I have no idea what your point is, if indeed there was one at all. What on earth does "Java is not the definition of language" have to do with anything? If you have nothing useful to say, I suggest we terminate this discussion. Oli Filth(talk|contribs) 21:03, 27 August 2008 (UTC)[reply]
Furthermore, you've still failed to provide any meaningful reason for why this sentence should be removed. So please stop removing it. Oli Filth(talk|contribs) 21:13, 27 August 2008 (UTC)[reply]
Nothing from nothing leaves nothing. 128.206.82.41 (talk) 21:23, 27 August 2008 (UTC)done[reply]

Compiled vs. interpreted

Deary me, are we really having this discussion?

Typically, Java source code (i.e. the stuff you write your application in) is compiled to Java bytecode. The bytecode is then interpreted by the JVM. This is obvious from the fact that one has to run javac (the "Java compiler") on the source code before you obtain something that's executable by the JVM. To say otherwise is incorrect, no matter what that early reference says (look, I can find a reference that disagrees with yours: [1] !), and contradicts the article later on (Java (programming language)#Platform independence). Oli Filth(talk|contribs) 16:38, 29 August 2008 (UTC)[reply]

Now we are getting somewhere perhaps. I will remove the philosphy section supported by the contradicting reference. done128.206.82.41 (talk) 16:44, 29 August 2008 (UTC)[reply]
Nice Oli, bot my account. Sure philosophy section says its supposed to be interpretted but its not. I still conclude that Java is bad. Get a real language! done128.206.82.41 (talk) 16:59, 29 August 2008 (UTC)[reply]
Bots are automated; nothing to do with me. Oli Filth(talk|contribs) 18:42, 29 August 2008 (UTC)[reply]
Well I guess whatever you say and a buck will buy you a cup of java. done 128.206.82.41 (talk) 18:46, 29 August 2008 (UTC)[reply]

Automatic memory management

I think this section can be largely removed/rewritten, the second paragraph is useful but the majority of the rest is general information on garbage collecting (i.e. not java specific) and/or has too much comparison with c/c++. Superfly Jon (talk) 10:08, 10 September 2008 (UTC)[reply]

Primary goals v cite

The five primary goals listed in the article don't obviously match the 5 goals listed in the citation given? Regards, Ben Aveling 04:45, 10 September 2008 (UTC)[reply]

I agree that it doesn't seem to match exactly. Here are the paragraph headings from the article:
  1. Simple, Object Oriented, and Familiar
  2. Robust and Secure
  3. Architecture Neutral and Portable
  4. High Performance
  5. Interpreted, Threaded, and Dynamic
The first 3 roughly match points 5, 4 and 2. Point 1 is also covered in the first part and point 3 seems wrong. None of the points mention high performance.Superfly Jon (talk) 10:07, 10 September 2008 (UTC)[reply]
These are all goals that C and C++ have already attained, and are all short falls of java except perhaps interpreted.
Using goals as facts is a fallacy, garbage collection is not DYNAMIC! done128.206.82.41 (talk) 18:56, 11 September 2008 (UTC)[reply]
Also note that no where is Java designed to work well with other languages.
  1. C and Java are simple, C++ is not. Neither C nor C++ is really OO. Java basically is OO, pretty much. C is familiar, C++ gets pretty weird in places. Java is pretty familiar, though it seems to get a bit weirder with each new release - arguably, as it tries to be more like C++.
  1. Java too easy for beginners too difficult for professionals.
  1. No language that allows ints and pointers to be used interchangeably is robust or secure (but you can still write robust and secure programs in them).
  1. I thought you meant secure from hackers. But really we meant secure from poor programming. Why is it that all the Java programs require relaxing of my security standards?
  1. C and C++ are reasonably portable, but not completely. For example, resolving a null pointer isn't fatal on some platforms. C/C++ are certainly are much less architecture neutral than Java - they need to be recompiled for each new platform. For a large program, that's not a trivial exercise, though it's probably better than it used to be.
  1. bottom line is if C and C++ is portable Java isn't portable, thank you JRE. I think you are confusing portability with cross platform. Java doesn't have compiler directives, so you can't port it, or you can port it but you have to maintain two different version of said program, which is definitely not portable.
  1. Yes. C beats Java hands down. C++ also, unless your programmer goes too deep into the box of magic tricks.
  1. I can link C libraries to my C++ code so fast you can't imagine, so there is always a way to get it done fast, the line between C and C++ is faint, unlike Java where it is a memory management nightmare, every object has to be wrapped and unwrapped to get C to work with Java, and then you still have issues of in Linux its a .so file and Windows its a DLL, and there doesn't seem to be a way to tell Java that hey you need to load a different library ... see portability point above.
  1. Interpreted has pluses and minuses. Java threading is out of the box. Dynamic, I'll let you decide.
  1. Java still can't decide interpretted or compiled, it disagrees with the lead of the article.
Regards, Ben Aveling 20:59, 11 September 2008 (UTC)[reply]
128.206.82.41 (talk) 16:47, 12 September 2008 (UTC) done[reply]
128.206.82.41, this is not a general discussion forum for you to vent your issues with Java. Please either keep your comments solely to discussion of direct improvements to the article, or else stop derailing threads which are. Chris Cunningham (not at work) - talk 17:39, 12 September 2008 (UTC)[reply]
Are you suggesting a meta conversation? Or do you have someother point about java that I'd like to pick apart? 128.206.82.41 (talk) 18:00, 12 September 2008 (UTC) done[reply]
No, I'm warning you to cease using the talk page to "pick apart" people's comments about Java. Doing so in a way which is not conductive to article improvement is a distraction from the project's goal, and will get you blocked. Consider this to be yet another final warning, to go with the handful you've already picked up for your disruption here. Chris Cunningham (not at work) - talk 18:10, 12 September 2008 (UTC)[reply]
Java is not a nice program in the sense that it ships in preemptive task mode. done 128.206.82.41 (talk) 20:47, 12 September 2008 (UTC)[reply]
I agree completely with user:thumperward. It is completely out of the subject. It is like saying "Red is not nice because it is not White". Hervegirod (talk) 13:52, 13 September 2008 (UTC)[reply]
Actually preemptive task switching is relevant to the discussion of measuring performance of a language. A program can gain apparent performance by starving other processes of system resources. So comparing a java program to a C program is not accurate, as Java may be receiving more system resources, and even causing lowlevel IO to appear faster since java doesnt wait. Preemptive task switching also has the negative side effect of causing the entire system to appear to thrash, when in fact it is one poorly programmed Java program. Other programs that are guilty of this are MySQL. In gerenal programs that ship in this mode or use this behavioural marketing tactic are considered "Not Nice". done 69.29.68.204 (talk) 14:42, 13 September 2008 (UTC)[reply]
Preemptive task switching is at the basis of all modern Operating Systems, in whatever language they are programmed. You may think its cool to throw your own personal war using alternate IPs, but it's not. You should stop this now. Hervegirod (talk) 16:23, 13 September 2008 (UTC)[reply]
Preemptive task switching is good for OS's, and bad for third party web applets written in languages like Java. I see the point that Java ships what equates to an operating system for the JVM(add a couple gigabytes per version might I add), however there is still no way to run Java programs at different priorities within the context of the JVM the scheduler just isn't there. It is also true that this is a cross platform issue in that java is not nice in all operating systems, and OS programmers have had to make explicit attempts to keep java from not only using high priority scheduling for all of its threads, but also locking other resources. I also believe attempts to obscure such issues to be bad faith evangelism, that happens to effect all processes not just java. Sorry about the IP, maybe if my service provider didn't charge extra for a static IP, I wouldn't have to worry about it. 69.29.68.204 (talk) 16:22, 14 September 2008 (UTC) done[reply]
As for the dynamic IP, it would be much better to create an account, the actual state of your contributions appear as dubious, even if they are not.
A weakness in wiki or a strength in java, I don't understand what you are talking about.
BTW it is possible to assign priorities to Java threads (see here).
Priorities to threads not to programs. IE there is no way to set an entire java program at any other prioity compared to other java programs, (can you imagine running more than one java program simultaneously?).
If you don't assign a priority to a Thread, it has by default a normal priority (not the highest as you wrote).
This is for the thread priority. The Java JRE still runs at high priority in the OS kernel as was standardly shipped, which is by definintion Not Nice, just like if I were to run all my java threads in high priority... Not Nice.
Yes but the Java Freezing behavior for Applets is not coming from the Threading behavior of the JVM, but to the fact that the Applet code must be downloaded prior to execution, and also because of the initialization of the virtual machine (on my PC PDF documents take more time to open than Java applets, I think more or less for the same reasons). If you find reliable sources saying the contrary, I have no problem with that, but for now it looks like POV to me. Hervegirod (talk) 17:17, 14 September 2008 (UTC)[reply]
What java freezes my computer no way dude, do the marketroids let you say that? All I am saying is that it would take a little longer for java to load, but it wouldn't lock my computer and cause my system to drag if it weren't shipped in high priority mode. done 128.206.82.41 (talk) 14:28, 15 September 2008 (UTC)[reply]

AOT

warning, java newbie alert!

under "Java Platform" theres a sentence...

"AOT could give Java something like performance"

is there meant to be a word between "like" and "performance" and if so what?

thanks The Elves Of Dunsimore (talk) 05:42, 20 October 2008 (UTC)[reply]

I think the sentence is jargon, treating an objective measure, "performance", like a quality ranking. I understand it immediatelly, but cannot say what's missing, the word could be "acceptable", "good", "better" or some such. Said: Rursus () 14:05, 20 October 2008 (UTC)[reply]
well now i've thought about it a bit i think it probably means to say "AOT could give Java something like the performance a more traditional compiler would give". what do you think? The Elves Of Dunsimore (talk) 01:10, 21 October 2008 (UTC)[reply]

Poor or Irrelevant Examples??

The section Examples is marked {{examplefarm}} but nobody tells us why, on this talk page. That's poor templating! Now are the examples poor? IMHO: Maybe – I got warnings when compiling them with gcj, but they executed. They're IMHO not so poor, but needs improvement. Are the examples irrelevant? IMHO: somewhat – they happened to be exactly what I needed, just now, thank You very much someone, but they belong to Java applet and Java servlet, technically – they don't explain the language Java, which IMHO is what the article should treat. Have opinions! (Or if hungry: onions). Said: Rursus () 13:27, 20 October 2008 (UTC)[reply]

i agree (mostly), when reading the examples they where just what i wanted so i'm going to delete the tag. but i'm slightly confused by your comments cos the applet/servlet stuff is under a different section, ie Special Classes which seems fine to me. tho i'd probably like to see those examples in the Java applet and Java servlet pages too. cheers. The Elves Of Dunsimore (talk) 01:17, 21 October 2008 (UTC)[reply]