WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center
Wolfram Language Home Page »
JLink`
JLink`

LoadJavaClass

LoadJavaClass [classname]

loads the specified class into Java and sets up definitions so that it can be used from the Wolfram Language.

Details and Options

  • To use LoadJavaClass , you first need to load J/Link using Needs ["JLink`"].
  • You must specify the fully qualified class name, for example "java.awt.Frame".
  • It is safe to call LoadJavaClass multiple times on the same class; it simply returns right away without doing anything.
  • The following options can be given:
  • StaticsVisible False whether static methods/fields are accessible by name or in a special context
    AllowShortContext True whether static methods/fields can be accessed by name or by full context
    UseTypeChecking True whether to suppress the type checking normally inserted in definitions for calls to Java

See Also

JavaNew   InstallJava   JavaClass

Tech Notes

Wolfram Research (2007), LoadJavaClass, Wolfram Language function, https://reference.wolfram.com/language/JLink/ref/LoadJavaClass.html.

Text

Wolfram Research (2007), LoadJavaClass, Wolfram Language function, https://reference.wolfram.com/language/JLink/ref/LoadJavaClass.html.

CMS

Wolfram Language. 2007. "LoadJavaClass." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/JLink/ref/LoadJavaClass.html.

APA

Wolfram Language. (2007). LoadJavaClass. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/JLink/ref/LoadJavaClass.html

BibTeX

@misc{reference.wolfram_2025_loadjavaclass, author="Wolfram Research", title="{LoadJavaClass}", year="2007", howpublished="\url{https://reference.wolfram.com/language/JLink/ref/LoadJavaClass.html}", note=[Accessed: 23-April-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_loadjavaclass, organization={Wolfram Research}, title={LoadJavaClass}, year={2007}, url={https://reference.wolfram.com/language/JLink/ref/LoadJavaClass.html}, note=[Accessed: 23-April-2025 ]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /