encyclopegia.org

J/Direct

J/Direct was a technology included in some versions of Microsoft Java Virtual Machine, which allowed direct calls into the Windows API.[src] J/Direct was specific of Microsoft's Virtual Machine, in replacement of the standard Java Native Interface (JNI).[src] A Java program which used J/Direct would not run on platforms other than Microsoft Windows.[src] The release of J/Direct (along with AFC and WFC), was part of an effort by Microsoft to gain leadership on the growing Java community.[src] Since this destroyed one of the main advantages of Java, its cross-platform nature, J/Direct was often seen as an attempt by Microsoft to undermine Java's cross-platform capabilities, and an example of the tactic of embrace, extend and extinguish.[src] After the drop by Microsoft of their specific Java virtual machine, and the switch to the .NET environment, J/Direct was no longer maintained.[src]

J/Direct was a technology included in some versions of Microsoft Java Virtual Machine, which allowed direct calls into the Windows API.[src] J/Direct was specific of Microsoft's Virtual Machine, in replacement of the standard Java Native Interface (JNI).[src] A Java program which used J/Direct would not run on platforms other than Microsoft Windows.[src] The release of J/Direct (along with AFC and WFC), was part of an effort by Microsoft to gain leadership on the growing Java community.[src] Since this destroyed one of the main advantages of Java, its cross-platform nature, J/Direct was often seen as an attempt by Microsoft to undermine Java's cross-platform capabilities, and an example of the tactic of embrace, extend and extinguish.[src] After the drop by Microsoft of their specific Java virtual machine, and the switch to the .NET environment, J/Direct was no longer maintained.[src] ==Architecture== J/Direct used a kind of annotation in Java code to make the link between Java and Windows functions.[src] As annotations did not exist in Java when J/Direct was designed, Microsoft used a special syntax in Java comments.[src] For example, to declare the GetSysColor function in the User32 API: /** @dll.import("USER32", entrypoint="GetSysColor") */ static native int getSysColor(int nIndex); The Microsoft Java implementation already provided a pre-defined package which provided a set of pre-defined classes bound to the User32, Gdi32.dll, and Kernel32.dll APIs.[src] Additionally, the Microsoft VM used some built-in rules to be able to bind automatically the Java code to some Windows API functions.[src] For example, it chose automatically between ANSI and Unicode versions of Windows API functions.[src] ==See also== Java Native Interface Java Native Access P/Invoke, the equivalent .NET API ==References== ==External links== Writing Windows-Based Applications with J/Direct[src]

18 sentences · 18 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"J/Direct." encyclopegia.org, 2025, https://encyclopegia.org/wiki/j-direct. Accessed 29 November 2026.

Chicago

"J/Direct." encyclopegia.org. Accessed November 29, 2026. https://encyclopegia.org/wiki/j-direct.

APA

encyclopegia.org. (2025). J/Direct. Retrieved November 29, 2026, from https://encyclopegia.org/wiki/j-direct

Accessed November 29, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1309506964 · 0.5 · snapshot enwiki-001309506964

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.