The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

What is Java used for?

splashsplash Registered User regular
First I wanted to point out this:

From Java.com
Why do I need Java?

There are lots of applications and websites that won't work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!

This statement sounds weird to me. They don't list specific uses or applications. I'm wondering why is Java used rather than some other language?

Are there practical uses for Java apart from the web? I know that browsers include the Java runtime for web applications, but is it still commonly used on the web? My impression is that Flash (though I dislike it) and scripting languages can accomplish doing all or most of what Java has existed for on the web. Is Java still used on cellphones (for games, or what else)? I just never come across Java but it's still one of the major languages taught in school. Am I way off in thinking Java isn't important anymore?

splash on

Posts

  • ZxerolZxerol for the smaller pieces, my shovel wouldn't do so i took off my boot and used my shoeRegistered User regular
    edited May 2011
    Quick nitpick: browsers never include the Java runtime environment; it's pretty much an OS installed thing.

    Java is often taught as introductory language because it's a modern, object-oriented language that's well-known and in practical use, versus something C++, which has decades upon decades of cruft and jury-rigging to the language and honestly isn't the friendliest thing ever, or more esoteric and less practical languages like Smalltalk and co. The damn thing also has runtimes for like every platform ever. Even if you never code a Java app ever again, the fundamental concepts it forces you to ingrain is used in most other modern language you'll ever come across.

    Zxerol on
  • JasconiusJasconius sword criminal mad onlineRegistered User regular
    edited May 2011
    Java is a highly portable language used for a lot of different things.

    It's popular among large corporations because, as mentioned by Zxerol, it is taught by MANY universities, and therefore there is a big talent market to hire from. Also because Java is fairly platform independent, blah blah blah [technical/business stuff here].

    The reason most people install Java on their computers is so that they can run Java website PLUGINS, which are analogous to Flash movies in some ways.

    Java was used this way for quite a while because prior to 2007, you couldn't do any real serious kind of programming with Flash... so if you needed to put something in a browser like... say... a hardcore physics simulation.. or a 3D sandbox game... Java was your only option.

    But that is not very common anymore, with a few notable exceptions. You don't *need* java anymore at all to experience 99.9999% of the web.

    Java *is* everywhere. But for the most part, it's not in your browser window.

    Jasconius on
    this is a discord of mostly PA people interested in fighting games: https://discord.gg/DZWa97d5rz

    we also talk about other random shit and clown upon each other
  • elliotw2elliotw2 Registered User regular
    edited May 2011
    Java is used for everything, Minecraft, Blu-Ray menus, operating systems, IDE's, whatever you can name, there is a java version of it.

    elliotw2 on
    camo_sig2.pngXBL:Elliotw3|PSN:elliotw2
  • BigityBigity Lubbock, TXRegistered User regular
    edited May 2011
    Real programmers use Ada.


    Until the inevitable suicide that is.

    Bigity on
  • RSPRSP Registered User regular
    edited May 2011
    It's prevalent in anything 'enterprise'.

    RSP on
  • FremFrem Registered User regular
    edited May 2011
    Also, Minecraft. A big part of Minecraft's success (apart from being amazing) is that you could just click on a link and be playing it in your browser. There aren't many platforms other than Java you can do that with for a 3D application.

    I'm also a huge fan of the Java VM. Cross platform applications FTW; Java is an easy way to write something that works on Windows, Linux, and OS X without thinking too hard about it. You've also got all these languages like JRuby and Closure that either run on the VM or compile into Java bytecode. JRuby was actually faster than normal Ruby for some time because the Java VM is so optimized.

    Frem on
  • lunchbox12682lunchbox12682 MinnesotaRegistered User regular
    edited May 2011
    Bigity wrote: »
    Real programmers use Ada.


    Until the inevitable suicide that is.

    It's not suicide, your wrists just start bleeding spontaneously.

    lunchbox12682 on
  • splashsplash Registered User regular
    edited May 2011
    Zxerol wrote: »
    Quick nitpick: browsers never include the Java runtime environment; it's pretty much an OS installed thing.

    Very fair nitpick. I didn't realize this was the case. I didn't know browsers just used the existing Java runtime environment from the OS, I thought it came with the browsers.

    Going off on a security tangent, so you can disable Java within the browser, which will decrease your vulnerability when viewing sites, but you'll still have it on your OS. I see.

    It's making a lot more sense now knowing its likelier to be in enterprise and special-devices. I just haven't happened to use any Winodws program except OpenOffice which explicitly wanted to install Java VM or some full Java install for additional features, yet there may be more unseen instances of it.

    splash on
  • JasconiusJasconius sword criminal mad onlineRegistered User regular
    edited May 2011
    Some Java programs are written using features of a version of Java that may not be current. So you have to install a very specific version of Java for some reason or another.

    That's probably why OpenOffice recommends you install their special blend of Java

    Jasconius on
    this is a discord of mostly PA people interested in fighting games: https://discord.gg/DZWa97d5rz

    we also talk about other random shit and clown upon each other
  • FremFrem Registered User regular
    edited May 2011
    Jasconius wrote: »
    Some Java programs are written using features of a version of Java that may not be current. So you have to install a very specific version of Java for some reason or another.

    That's probably why OpenOffice recommends you install their special blend of Java

    I thought that was just because if you install OpenOffice.org but don't have Java, most people are completely lost and don't understand why it doesn't work.

    Frem on
  • admanbadmanb unionize your workplace Seattle, WARegistered User regular
    edited May 2011
    Many websites also run Java like any other server-side language (other commonoy used ones include C#, PHP, Ruby, etc) using JSP.

    admanb on
  • AiouaAioua Ora Occidens Ora OptimaRegistered User regular
    edited May 2011
    splash wrote: »
    Zxerol wrote: »
    Quick nitpick: browsers never include the Java runtime environment; it's pretty much an OS installed thing.

    Very fair nitpick. I didn't realize this was the case. I didn't know browsers just used the existing Java runtime environment from the OS, I thought it came with the browsers.

    Going off on a security tangent, so you can disable Java within the browser, which will decrease your vulnerability when viewing sites, but you'll still have it on your OS. I see.

    It's making a lot more sense now knowing its likelier to be in enterprise and special-devices. I just haven't happened to use any Winodws program except OpenOffice which explicitly wanted to install Java VM or some full Java install for additional features, yet there may be more unseen instances of it.

    Also make sure you're not mixing up JavaScript and plain ol' Java. JavaScript is the thing thats built into browsers and is the source of a bunch of malware attacks.

    Aioua on
    life's a game that you're bound to lose / like using a hammer to pound in screws
    fuck up once and you break your thumb / if you're happy at all then you're god damn dumb
    that's right we're on a fucked up cruise / God is dead but at least we have booze
    bad things happen, no one knows why / the sun burns out and everyone dies
  • splashsplash Registered User regular
    edited May 2011
    Yea I'm not confusing JavaScript and Java.

    I totally forgot about JSP.

    splash on
  • Alistair HuttonAlistair Hutton Dr EdinburghRegistered User regular
    edited May 2011
    Bigity wrote: »
    Real programmers use Ada.


    Until the inevitable suicide that is.

    It's not suicide, your wrists just start bleeding spontaneously.

    At least with Ada when you ask for your wrists to be slashed you can absolutely positively guarantee that it is your wrist that will get slashed and not your elbows or ankles. No matter how much they might look like wrists.

    Alistair Hutton on
    I have a thoughtful and infrequently updated blog about games http://whatithinkaboutwhenithinkaboutgames.wordpress.com/

    I made a game, it has penguins in it. It's pay what you like on Gumroad.

    Currently Ebaying Nothing at all but I might do in the future.
  • BigityBigity Lubbock, TXRegistered User regular
    edited May 2011
    Bigity wrote: »
    Real programmers use Ada.


    Until the inevitable suicide that is.

    It's not suicide, your wrists just start bleeding spontaneously.

    At least with Ada when you ask for your wrists to be slashed you can absolutely positively guarantee that it is your wrist that will get slashed and not your elbows or ankles. No matter how much they might look like wrists.

    :^:

    Bigity on
  • Alistair HuttonAlistair Hutton Dr EdinburghRegistered User regular
    edited May 2011
    Bigity wrote: »
    At least with Ada when you ask for your wrists to be slashed you can absolutely positively guarantee that it is your wrist that will get slashed and not your elbows or ankles. No matter how much they might look like wrists.

    :^:

    There are two types of people who talk about "benefits of type-safety in a statically typed language":
    A) Those that have used Ada
    B) Fucking flap mouth cretins who have no idea what they are talking about

    Ada has mutha-fuckin' types. Other languages have useless line noise you put around variable declarations.

    Alistair Hutton on
    I have a thoughtful and infrequently updated blog about games http://whatithinkaboutwhenithinkaboutgames.wordpress.com/

    I made a game, it has penguins in it. It's pay what you like on Gumroad.

    Currently Ebaying Nothing at all but I might do in the future.
  • Anon the FelonAnon the Felon In bat country.Registered User regular
    edited May 2011
    Funny story about Java: I got a notification from Gmail that my account had been logged in from a strange IP. I eventually did a virus scan and low and be hold...Nod32 picked up 4 virus's in my Java directories. Some searching shows they were put there by a java action.

    I'm so happy with Java, now I've got to change all my god damn passwords, and reformat.

    Anon the Felon on
  • RSPRSP Registered User regular
    edited May 2011
    Bigity wrote: »
    At least with Ada when you ask for your wrists to be slashed you can absolutely positively guarantee that it is your wrist that will get slashed and not your elbows or ankles. No matter how much they might look like wrists.

    :^:

    There are two types of people who talk about "benefits of type-safety in a statically typed language":
    A) Those that have used Ada
    B) Fucking flap mouth cretins who have no idea what they are talking about

    Ada has mutha-fuckin' types. Other languages have useless line noise you put around variable declarations.

    There is also Haskell. That is pretty serious about its types.

    RSP on
  • finalflight89finalflight89 Registered User regular
    edited May 2011
    Funny story about Java: I got a notification from Gmail that my account had been logged in from a strange IP. I eventually did a virus scan and low and be hold...Nod32 picked up 4 virus's in my Java directories. Some searching shows they were put there by a java action.

    I'm so happy with Java, now I've got to change all my god damn passwords, and reformat.

    This is exactly why you should enable 2-factor authentication for your Google account.

    finalflight89 on
Sign In or Register to comment.