Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

wehen I execute the Run.bat file in Jboss-4.0.5 the following error appear :-

Error: no server JVM at C:\Program Files\Java\jre6\bin\server\jvm.dll'. Press any key to continue . . .

I download JDK1.5.0_22

on other hand

what is I should change to make run.bath tacke this path C:\Program Files\Java\jdk1.5.0_22 instade of tacke C:\Program Files\Java\jre6\bin\server\jvm.dll

share|improve this question
    
jre6 = Java Runtime Environment 1.6; JRE1.6 != JDK1.5 –  Chris S Jan 5 '11 at 15:32

1 Answer 1

up vote 0 down vote accepted

Check your JAVA_HOME, it could be pointing to the JRE instead of an SDK. Also, close and reopen your command prompt window to "flush".

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.