Joehot200
Joehot200

Reputation: 1090

How to force the use of JRE7?

im on a windows 8 operating system, and i would like to know how to force the use of java 7? I have java 7 on my computer, but at the moment it is defaulting to java 6.

I need java 7, because BungeeCord, Made by md_5 (www.spigotmc.org), only runs with java 7 :(.

Is there some sort of path i need to force it to use?

I have currently tried putting -d64 and -jar in the .bat file, which is not helping or doing anything (and i have have 32 bit java), and my start script is at the bare minimum.

Thanks, Joe

Upvotes: 0

Views: 393

Answers (2)

Marko Gresak
Marko Gresak

Reputation: 8207

Change Environment variable to java 7 bin folder. Here's how to do it on Windows 8: https://superuser.com/questions/284342/what-are-path-and-other-environment-variables-and-how-can-i-set-or-use-them

Upvotes: 2

codeMan
codeMan

Reputation: 5758

Set the JAVA_HOME environment variable and also point your path variable to the java 7 bin folder.

Here is a visual rep of how to set up.(Note: make changes to paths according ur system and also use version numbers correctly)

Upvotes: 3

Related Questions