Visual J++ is
Microsoft's discontinued implementation of
Java.
Syntax
In linguistics, syntax () is the study of how words and morphemes combine to form larger units such as phrases and sentences. Central concerns of syntax include word order, grammatical relations, hierarchical sentence structure ( constituency) ...
,
keywords
Keyword may refer to:
Computing
* Keyword (Internet search), a word or phrase typically used by bloggers or online content creator to rank a web page on a particular topic
* Index term, a term used as a keyword to documents in an information syste ...
, and
grammatical conventions were the same as Java's. It was introduced in 1996 and discontinued in January 2004, replaced to a certain extent by
J# and
C#.
The implementation,
MSJVM, did not pass
Sun Microsystems
Sun Microsystems, Inc. (Sun for short) was an American technology company that sold computers, computer components, software, and information technology services and created the Java programming language, the Solaris operating system, ZFS, the ...
' compliance tests leading to a lawsuit from Sun, Java's creator. Microsoft ceased such support for the MSJVM on December 31, 2007 (later Oracle bought Sun, and with it Java and its trademarks). Microsoft however, officially started distributing Java again in 2021 (though not bundled with Windows or its web browsers as before), i.e. their build of
Oracle
An oracle is a person or agency considered to provide wise and insightful counsel or prophetic predictions, most notably including precognition of the future, inspired by deities. As such, it is a form of divination.
Description
The word '' ...
's
OpenJDK, which Microsoft plans to support for at least 6 years, for LTS versions, i.e. to September 2027 for Java 17.
J++ compared to Sun's Java implementation
While J++ conformed to the Java
language specification,
Microsoft did not implement certain features of the official Sun Java implementation in its Visual J++ product line.
Remote Method Invocation (Java RMI) and
Java Native Interface (JNI) are such examples.
In addition, J++ implemented other extensions that were not part of
Sun's Java implementation. The inclusion of
callbacks and
delegates for
event handling further contributed to defining J++ as a completely different language merely based on an already existing design concept.
Furthermore, J++ applications did not conform to the same standardized method of accessing the underlying operating system functions as any other Java application under
Sun's Java SDK. In
Microsoft's implementation, an underlying
framework called
J/Direct provided a base mechanism that allowed J++ applications to completely circumvent Java's
class libraries and
API in accessing the underlying operating system. Due to this short-cut around the original
Java framework, J++ applications were more efficient in taking advantage of
Win32 API functions than Java applications.
J++ applications using these features could not be run on Sun's Java SDK, but the
Kaffe project developed extensions which made it possible to run J++ applications with these features on their open sourced
JVM. However, these extensions (implemented by TransVirtual under Microsoft funding) were not widely used, and J++ applications still needed to be compiled on Visual J++ before being able to be run by Kaffe.
Visual J++ supported
ActiveX.
The WFC
The Windows Foundation Classes (WFC) encapsulated the Microsoft
Win32 platform
API and
DHTML object models into a unified class library. WFC was primarily designed for creating
graphical user interfaces for Java applications on Windows.
Sun's litigation against Microsoft
Sun Microsystems
Sun Microsystems, Inc. (Sun for short) was an American technology company that sold computers, computer components, software, and information technology services and created the Java programming language, the Solaris operating system, ZFS, the ...
had originally licensed Java to
Microsoft but later initiated litigation against Microsoft for trademark violation. Sun's trademark license for usage of the Java brand insists that all implementations be "compatible".
Some observers have remarked that this incompatibility appears to have been a deliberate aim of Microsoft's, in an attempt to at least slow the advance of Sun's Java technology.
The failure of the MSJVM to pass Sun's
compliance tests was a large factor in the initial lawsuit. In 2004, this and all other outstanding Sun–Microsoft lawsuits were settled as part of a wide-ranging agreement between Sun and Microsoft. As provided in the settlement, Microsoft could not incorporate into J++ features that Sun introduced into Java in versions beyond the one J++ had (at that date) been mirrored from; it would be frozen at the feature set of Java version 1.1.4. This effectively killed J++, and ended further updates. Microsoft was also forced to agree to cease distribution of the MSJVM; it is no longer available for download.
The terms of the settlement did, however, permit Microsoft to provide security support, allowing further updates to the MSJVM to fix
security holes and any other problems relating to security threats. Microsoft ceased such support for the MSJVM on December 31, 2007.
The technology of J++ was eventually recycled, surviving for a while as part of the
Microsoft .NET platform and the
J# programming language.
Visual J++ – the IDE
Visual J++ was also the name of the
Integrated Development Environment (IDE) for J++ and provided many tools and utilities to help J++ programmers fully leverage the
Win32 API.
Visual J++ is no longer available for distribution, but it was part of the
Microsoft Visual Studio
Visual Studio is an integrated development environment (IDE) from Microsoft. It is used to develop computer programs including websites, web apps, web services and mobile apps. Visual Studio uses Microsoft software development platforms such a ...
product line.
Visual Studio 6.0 was the last release to include J++.
Visual J#
Visual J# ''(pronounced "Jay Sharp")'' is a
Microsoft language whose syntax is close to Java, part of the
.NET Framework
The .NET Framework (pronounced as "''dot net"'') is a proprietary software framework developed by Microsoft that runs primarily on Microsoft Windows. It was the predominant implementation of the Common Language Infrastructure (CLI) until bein ...
. Visual J# is part of the Microsoft Visual Studio .NET product suite and is designed to help developers and programmers migrate from J++ (or Java) to the
.NET Framework
The .NET Framework (pronounced as "''dot net"'') is a proprietary software framework developed by Microsoft that runs primarily on Microsoft Windows. It was the predominant implementation of the Common Language Infrastructure (CLI) until bein ...
.
Microsoft later developed the
C# ("C Sharp") language as the primary language for the .NET platform, which was in many ways influenced by Java; subsequently the .NET Framework shares many ideas in common with Java. Much like Java, C# is compiled to a type of bytecode (called
CIL), and runs on top of a virtual machine called the
Common Language Runtime
The Common Language Runtime (CLR), the virtual machine component of Microsoft .NET Framework, manages the execution of .NET programs. Just-in-time compilation converts the managed code (compiled intermediate language code) into machine instructio ...
in .NET. Visual Studio 2005 was the last release to include J#.
References
External links
Product Features in Visual J++ – By EditionMicrosoft Visual J#Microsoft Java Web SiteSun's Agreement with Microsoft
{{Microsoft development tools
Discontinued Microsoft development tools
J++