Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

run jar file with different jre

First, go to the location of the java installation file. By default, this is:
C:Program FilesJava...
Open the folder of the java version you want and go to the bin folder.
Copy the directory your at then go to your command line. 
Syntax: (%PATH% is path you copied):
"%PATH%/java.exe" [javaArgs] [filePath] [yourCodeArgs]
Comment

PREVIOUS NEXT
Code Example
Java :: try catch block 
Java :: method 
Java :: enum class in java 
Java :: matrix dimensions 
Java :: logcat android 
Java :: arraylist methods in java 
Java :: interface declaration in java 
Java :: string cannot be resolved to a type eclipse 
Java :: java print array of objects 
Java :: junit dependency 
Java :: kafkalistener annotation pass topic from properties file 
Java :: String to java.sql.Date 
Java :: calculate the area of two squares in java by using a method 
Java :: madhava kripa 
Java :: edit text on 2sec change andropid 
Java :: set java time complexity 
Java :: java method overloading 
Java :: strictfp java example 
Java :: Transversal operation in java array 
Java :: how to make bidirectional fromated binding 
Java :: java test coverage 
Java :: grava 
Java :: how to write a perfect shuffle method in java 
Java :: num1 * num2 
Java :: retrofit with api key post 
Java :: copy one string to another without using any loops or assignment operator 
Java :: how to stop scanner object skipping 
Java :: Change the java version of a eclips maven project 
Java :: java lib reference 
Java :: hello world in bukkit 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =