Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Visual J Sharp

From Wikipedia, the free encyclopedia
Programming language
Not to be confused withJ orVisual J++.
The correct title of this article isVisual J#. It appears incorrectly here due totechnical restrictions.
Visual J#
ParadigmObject-oriented,structured,imperative
DeveloperMicrosoft
First appearedJuly 1, 2002; 23 years ago (2002-07-01)
Final release
v2.0 Second Edition / 18 May 2007; 18 years ago (2007-05-18)
Platform.NET Framework
Websitemsdn2.microsoft.com/en-us/vjsharp/default.aspx
Influenced by
Java andVisual J++

Visual J# (pronounced "jay-sharp") is a discontinued implementation of the J#programming language that was a transitional language for programmers ofJava andVisual J++ languages, so they could use their existing knowledge and applications with the.NET Framework.[1][2] It was introduced in 2002[3] and discontinued in 2007, with support for the final release of the product continuing until October 2017.

J# worked withJava bytecode as well as source so it could be used to transition applications that used third-partylibraries, even if their originalsource code was unavailable.[citation needed] It was developed by theHyderabad-basedMicrosoft India Development Center at HITEC City in India.[4][5]

The implementation of Java inVisual J++, MSJVM, did not passSun's compliance tests leading to a lawsuit from Sun, Java's creator, and creation of J#. 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 with J++), i.e. their build of Oracle's OpenJDK,[6] which Microsoft plans to support for at least 6 years, for LTS versions, i.e. to September 2027 for Java 17.

Fundamental differences between J# and Java

[edit]

Java and J# use the same general syntax but there are non-Java conventions in J# to support the .NET environment. For example, to use .NET "properties" with a standardJavaBean class, it is necessary to prefix getter and setter methods with theJavadoc-like annotation:

/** @beanproperty */

…and change the corresponding private variable name to be different from the suffix of the getXxx/setXxx names[citation needed].

J# does not compile Java-language source code to Java bytecode (.class files), and does not supportJava applet development or the ability to host applets directly in aweb browser, although it does provide a wrapper called Microsoft J# Browser Controls for hosting them asActiveX objects. Finally,Java Native Interface (JNI) andraw native interface (RNI) are substituted withP/Invoke; J# does not supportremote method invocation (RMI).[7]

InfoWorld said: "J#'s interface to the .NET framework is solid, but not as seamless asC#. In particular, J# code cannot define new .NET attributes, events, value types, or delegates. J# can make use of these language constructs if they are defined in an assembly written in another language, but its inability to define new ones limits J#'s reach and interoperability compared to other .NET languages."[8]

Contrariwise, Microsoft documentation for Visual Studio 2005 details the definition of .NET delegates,[9] events,[10] and value types[11] directly in J#.

History of J#

[edit]

In January 2007, Microsoft announced:[12]

  • That Microsoft would produce an updated version of Visual J# 2.0, including a64-bitredistributable version, called J# 2.0 Second Edition to meet customer demand for 64-bit runtime support. Microsoft released Visual J# 2.0 Second Edition in May 2007.[13]
  • Retirement of the J# language and Java Language Conversion Assistant from future versions ofVisual Studio. The last version, shipping with Visual Studio 2005, was supported until 2015.
  • Calling J# code from .NET 4.0 code would fail unless vjsnativ.dll was pre-loaded.[14]

The download of Visual J# 2005 Express Edition is no longer available from Microsoft's website.

Visual J# is out of support including the Visual J# 2.0 Redistributable Second Edition released in 2007, that was supported through to 2017 "(5 years mainstream and 5 years extended support) on EN-US locales."[15][16]

See also

[edit]

References

[edit]
  1. ^"Visual J# Home".msdn.microsoft.com. Retrieved2017-03-24.
  2. ^"Java to .NET Framework Migration Workshop: Free Online Training". 30 April 2007. Archived from the original on 2008-04-23. Retrieved2020-01-28.{{cite web}}: CS1 maint: bot: original URL status unknown (link)
  3. ^Microsoft News,[1], 1 July 2002
  4. ^S Prasanna,Microsoft's VJ#.Net is made in India,Express Computer, 29 July 2002Archived 28 November 2013 at theWayback Machine
  5. ^"The Hindu Business Line : Microsoft lines up big plans for Hyderabad centre".www.thehindubusinessline.com.
  6. ^"Announcing General Availability of Microsoft Build of OpenJDK".Java at Microsoft. 2021-05-25. Retrieved2021-08-03.
  7. ^"Visual J# Migration".Visual Studio 2005.MSDN Library. Archived fromthe original on 2012-03-16. Retrieved2021-12-25.
  8. ^Yager, Tom (21 November 2001)."Just don't call J# Java".InfoWorld. Retrieved2020-07-20.
  9. ^"delegate (Visual J#)".Visual Studio 2005.MSDN Library. Archived fromthe original on 2011-12-19.
  10. ^"Definition and Use of Events".Visual Studio 2005.MSDN Library. Archived fromthe original on 2011-12-19.
  11. ^"User-Defined Value Types".Visual Studio 2005.MSDN Library. Archived fromthe original on 2011-12-20.
  12. ^Microsoft Developer Network,Visual J# Product Announcement, 10 January 2007
  13. ^"Visual J# 2.0 Second Edition Redistributable Download".Microsoft. Archived from the original on 2007-05-23. Retrieved2010-04-27.{{cite web}}: CS1 maint: bot: original URL status unknown (link)
  14. ^"Calling J# code from .NET 4.0 - Windward Wrocks". Retrieved6 March 2017.
  15. ^"Visual J# Home". Retrieved6 March 2017.
  16. ^"End of Support for Visual Studio 2008 – in One Year". Retrieved2017-04-11.

External links

[edit]
Implementations
Architecture
Components
Tools
Decompilers
Obfuscators
IDEs
Organizations
Architecture
Components
Implementations
Microsoft
Other
Languages
Major
Other
Comparison
Microsoft development tools
Development
environments
Visual Studio
Others
Languages
APIs and
frameworks
Native
.NET
Device drivers
Database
SQL Server
SQL services
Other
Source control
Testing and
debugging
Delivery
Authority control databases: NationalEdit this at Wikidata
Retrieved from "https://en.wikipedia.org/w/index.php?title=Visual_J_Sharp&oldid=1318239370"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp