
This page contains articles about computer programming languages. For the island in Indonesia, see Java.
"Java language" switch to this page. For the Javanese language, see Javanese.
Java
Paradigms
OOPS
Designed by
Sun Microsystems
Initial release
1990s
Stable release
Java SE 16/March 16, 2021; 3 months ago
System Type
strong, static
Website
www.oracle.be/java/
Primary implementation
a lot
Affected by
Objective-C, C++, Smalltalk, Eiffel
Affects:
C#, D, J#, PHP
www.oracle.be/java/
Java is a programming language that can be run on a variety of computers including mobile phones. The language was originally created by James Gosling while still at Sun Microsystems, which is currently part of Oracle and was released in 1995. This language adopts many syntaxes found in C and C++ but with a simpler object model syntax and minimal bottom-line routine support. Java-based applications are generally compiled into p-code (bytecode) and can be run on a variety of Java Virtual Machines (JVM). Java is a general/non-specific (general purpose) programming language, and is specifically designed to make the most of implementation dependencies. Because of its functionality that allows java applications to run on several different operating system platforms, java is also known by its catchphrase, "Write once, run anywhere". Java is currently the most popular programming language used, and is widely used in the development of various types of application software
Table of contents
1History of development
2Initial version
3Excess and deficiency3.1Excess
3.2Deficiency
4Example simple program code
5Stages compilation
The 6Integrated Development Environment
7Outside shell
Development history[edit | edit source]
The Java programming language was born out of The Green Project, which ran for 18 months, from the beginning of 1991 until the summer of 1992. The project has not yet used a version called Oak. The project is led by Patrick Naughton, Mike Sheridan, and James Gosling, along with nine other Sun Microsystems programmers. One of the results of this project is the Duke mascot created by Joe Palrang.
The project meeting took place at a Sand Hill Road office building in Menlo Park. Around the summer of 1992 the project was closed by producing the first Java Oak program, intended as a controller of a device with touch screen technology (touch screen), as in today's PDA. The new technology is named "*7" (Star Seven).
After the Star Seven era was completed, an interested cable TV subsidiary plus some people from The Green Project project. They focused their activities on an office space at 100 Hamilton Avenue in Palo Alto.
The new company is advancing: the number of employees increased in a short period of time from 13 to 70. In this time frame also stipulated the use of the Internet as a medium that bridges work and ideas between them. In the early 1990s, the Internet was still a stub, used only among academics and the military.
They made the Mosaic browser (browser) the starting point for creating the first Java browser called Web Runner, inspired by the 1980s film, Blade Runner. In the development of the first release, Web Runner was renamed Hot Java.
In March 1995, Java source code version 1.0a2 was first opened. Their success was followed by first reporting in the San Jose Mercury News on May 23, 1995.
Unfortunately there was a split between them one day at 04:00 in a room Sheraton Palace hotel. Three of the project's lead actors, Eric Schmidt and George Paolini of Sun Microsystems with Marc Andreessen, formed Netscape.
The name Oak, taken from the oak tree that grew in front of the window of the workspace "Father of Java", James Gosling. The name Oak is not used for the Java release version because another software has been registered with the trademark, so the name of its successor is taken to be "Java". The name is taken from pure coffee milled directly from the beans (copy tubruk) favorite Gosling. This coffee comes from Java Island. So the name of the Java programming language is derived from the word Java (the English for Java is Java).
Initial version[edit | edit source]
The initial version of Java in 1996 was a release version so it was called Java Version 1.0. This version of Java includes many early standard packages that continue to be developed in later versions:
java.io: Allocation of input and output classes, including file usage.
java.util: Complementary class designation such as data structure class and date class designation.
java.net: TCP/IP class designation, which allows communicating with other computers using TCP/IP networks.
java.awt: Basic classes for user interface (GUI) applications
java.applet: Basic class of application interfaces to apply to web browsers.
Advantages and disadvantages[edit | edit source]
Advantages[edit | edit source]
Multiplatforms. The main advantage of Java is that it can be run on multiple platforms/computer operating systems, according to the principle of write once, run anywhere. With these advantages, the programmer can simply write a Java program and compile (change, from a human-understood language to a machine language/bytecode) once and then the results can be run on several platforms without change. This advantage allows a java-based program to be done on top of the Linux operating system but run well on top of Microsoft Windows. The platforms supported to date are Microsoft Windows, Linux, Mac OS and Sun Solaris. The reason is that each operating system uses its own program (which can be downloaded from the Java site) to interpret the bytecode.
OOP (Object Oriented Programming - Object Oriented Programmer), Java is one of the programming languages with OOP concept Archived 2017-01-18 in Wayback Machine.. Where the program is built oriented to the Object. Applications built with the OOP concept consist of objects that are interconnected
Complete Class Library, Java is famous for its complete library/library (a collection of program programs included in java programming) which is very easy to use by programmers to build their applications. The completeness of this library coupled with the existence of a large Java community that continuously create new libraries to cover all application development needs.
Stylish C++, has a syntax like the C++ programming language so it attracts many C++ programmers to move to Java. Currently Java users are very numerous, most are C++ programmers who moved to Java. Universities in the United States are also starting to move by teaching Java to new students because it is easier to understand by students and can be useful also for those who are not majoring in computers.
Automatic garbage collection, has a memory usage settings facility so that programmers do not need to do memory settings directly (as is the case in the widely used C++ language).
Disadvantages[edit | edit source]
Write once, run anywhere - There are still some things that are not compatible between one platform and another. For J2SE, for example SWT-AWT bridge which until now does not work on Mac OS X.
Easily decompiled. Decompilation is the process of inverting from finished code into source code. This is possible because Java's finished code is a bytecode that stores many high-level language attributes, such as class names, methods, and data types. The same thing happened with Microsoft .NET Platforms. Thus, the algorithm used by the program will be more difficult to hide and easily hijacked/direct-engineer.
Use of a lot of memory. The use of memory for Java-based programs is much greater than previous generation high-level languages such as C/C++ and Pascal (more specifically, Delphi and Object Pascal). Usually this is not a problem for those who use the latest technology (because the trend of installed memory is getting cheaper), but it becomes a problem for those who still have to deal with computer machines more than 4 years old.
Simple program code example[edit | edit source]
Examples of Halo World programs written using the Java programming language are as follows:
// Outputs "Hello, world!" and then exits
helloworld { public class
public static void main(String args[]) {
System.out.println("Hello, world!");
}
}Phase of compilation[edit | edit source]
Write / Change. The programmer writes the program and stores it in the media in the form of a '.java' file'.
Compilations. Compilers form bytecodes from programs into a '.class' file form'.
Load. Class loaders load bytecodes into memory.
Verifications. Verifiers ensure bytecodes do not interfere with the Java security system.
Run. Translator translates bytecodes into machine language.cannot be used‘’
Integrated Development Environment[edit | edit source]
Many parties have created IDEs (Integrated Development Environment - Integrated Development Environment) for Java. The most popular ones today (July 2006) include:
Dr. Java, a free program developed by Rice University, USA
BlueJ, a free program developed by Monash University, Australia
NetBeans (open source-Common Development and Distribution License (CDDL) Archived 2006-07-13 at Wayback Machine.)
NetBeans is sponsored by Sun Microsystems, and its latest version has Matisse, a GUI Editor that is in the public opinion the best.[citation needed]
Eclipse JDT (open source Eclipse Public License)
Eclipse is made from cooperation between 'Eclipse Foundation' member companies (along with other individuals). Many big names who participated in the 'Eclipse Foundation', including IBM, BEA, Intel, Nokia, Borland. Eclipse competes directly with Netbeans IDE. Additional plugins on Eclipse are much more numerous and varied than other IDEs.
IntelliJ IDEA (there is a paid version with free 30-day trial and community version for Android Development)
Oracle JDeveloper (free)
Xinox JCreator (no paid or free version)
JCreator is written in C/C++ making it faster (and uses less memory) than most.