Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4043230
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T13:06:07+00:00 2026-05-20T13:06:07+00:00

I have both jdk and jre installed on my windows 7. I have set

  • 0

I have both jdk and jre installed on my windows 7.

I have set the JAVA_HOME to

C:\Program Files\Java\jdk1.6.0_23

I have add

C:\Program Files\Java\jdk1.6.0_23\bin

to PATH.

but the java.exe still pointing to my jre dir, which is

C:\Program Files\Java\jre6\bin

since when I run

java.exe -server

it complains

Error: no `server' JVM at `C:\Program Files\Java\jre6\bin\server\jvm.dll'.

can anyone tell me what else do I need to set?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T13:06:07+00:00Added an answer on May 20, 2026 at 1:06 pm

    since you are on windows, java doesn’t work like that.
    there is a java.exe in some windows directory (%windir% system32 for you)

    This java.exe actually looks in the registry HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment

    PATH won’t help ya! Since I tend to get lazy I delete the JRE and create a junction to the JDK instead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have both Java JRE and Java JDK on a FreeBSD 7.2 box (running
I have both JRE 1.6 and JRE/JDK 1.7 installed on my PC. Do I
I have both InDesign CS2 and CS3 installed. Both use files with .indd extension.
E/ddms IllegalArgumentException 'Bad version' with both 32 and 64 bit Java JRE installed Hello.
I have both SQL Server 2005 and Visual Studio 2008 installed and think it
I have both Rails 2.3.4 and Rails 3.0.0.beta installed on my local machine. I
I was wondering recently why do both java.lang.Runtime and java.lang.System have the same methods
NOTE: This appears to be a limit in the javac program. I have Java
I have used Log4j and JDK Logger both for logging purpose, so i find
I have both nopCommerce and DotNetNuke installed on my server. All I need is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.