object JavaEnv extends Serializable
- Alphabetic
- By Inheritance
- JavaEnv
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
val
default: JavaEnv
Default
JavaEnv
constructed from this JVM.Default
JavaEnv
constructed from this JVM. Uses the samejavaHome
, and specifies no arguments. - def detectRuntime: Runtime
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def fromConfig(jvm: JvmConfig): JavaEnv
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
loadJavaDebugInterface: Try[Unit]
Loads the java debug interface once.
Loads the java debug interface once.
The Java Debug Interface is implemented in Java < 9 in an auxiliary jar called
tools.jar
. The tools jar is only accessible in JDKs but it's not loaded by default (users need to load it manually when they initialize an application that requires it by setting up the classpath).To avoid our users from doing such a thing, we instead try to load the JDI by finding the tools.jar dynamically on the java home of a JDK and then side-effecting on the system classloader to attempt to load it.
We only do this once and cache its result so that all debug clients know whether debugging is supported or not in this bloop server instance.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toConfig(env: JavaEnv): JvmConfig
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def version: String
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- object JDK extends Runtime with Product with Serializable
- object JRE extends Runtime with Product with Serializable