[jboss-user] [Beginners Corner] - Re: No answer after run command

zofe7 do-not-reply at jboss.com
Wed Aug 20 10:31:19 EDT 2008


anonymous wrote : Does it hang? Or does the control return back to the command prompt?
The control does return to back to the command prompt.

echo %JAVA_HOME% outputs:
C:\Sun\SDK\jdk\jre\bin

This is actually where I put my downloaded Java EE + SDK, bin being the directory where the client and server directories lie.

The whole output from trying to run it:


anonymous wrote : 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>run
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem ------------------------------
  | -------------------------------------------
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem JBoss Bootstrap Script for Win32
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem ------------------------------
  | -------------------------------------------
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem $Id: run.bat 73584 2008-05-22
  | 12:09:26Z dimitris at jboss.org $
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>set DIRNAME=.\
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>if "Windows_NT" == "Windows_NT" set DIRNAME=C:\Installs\jboss-4.2.3.GA\jboss4.2.3.GA\bin\
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>set PROGNAME=run.bat
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>if "Windows_NT" == "Windows_NT" set PROGNAME=run.bat
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>pushd C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\..
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA>set JBOSS_HOME=C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA>popd
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>REM Add bin/native to the PATH if present
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>if exist "C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\native" set PATH=C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\native;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\SSH Communications Security\SSH Secure Shell;C:\Program Files (x86)\Common Files\Teleca Shared;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Java\jre1.6.0_07\bin;C:\Sun\SDK\bin;C:\Program Files (x86)\SSH Communications Security\SSH Secure Shell
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>if exist "C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\native" set JAVA_OPTS= -Djava.library.path="C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\SSH Communications Security\SSH Secu
  | re Shell;C:\Program Files (x86)\Common Files\Teleca Shared;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Java\jre1.6.0_07\bin;C:\Sun\SDK\bin;C:\Program Files (x86)\SSH Communications Security\SSH Secure Shell"
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem Find run.jar, or we can't continue
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>set RUNJAR=C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\run.jar
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>if exist "C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\run.jar" goto FOUND_RUN_JAR
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>if not "C:\Sun\SDK\jdk\jre\bin" == "" goto ADD_TOOLS
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>set JAVA=C:\Sun\SDK\jdk\jre\bin\bin\java
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem A full JDK with toos.jar is not required anymore since jboss web packages
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem the eclipse jdt compiler and javassist has its own internal compiler.
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>if not exist "C:\Sun\SDK\jdk\jre\bin\lib\tools.jar" goto SKIP_TOOLS
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem If JBOSS_CLASSPATH or JAVAC_JAR is empty, don't include it, as this will
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem result in including the local directory in the classpath, which makes
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem error tracking harder.
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>if not "" == "" set RUNJAR=;C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\run.jar
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>if "" == "" set RUN_CLASSPATH=C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\run.jar
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>if "C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\run.jar" == "" set RUN_CLASSPATH=;C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\run.jar
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>set JBOSS_CLASSPATH=C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\run.jar
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem Setup JBoss specific properties
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>set JAVA_OPTS=-Dprogram.name=run.bat
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem Add -server to the JVM options, if supported
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>"C:\Sun\SDK\jdk\jre\bin\bin\java" -server -version   2>&1  | findstr /I hotspot  1>nul
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171522#4171522

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171522



More information about the jboss-user mailing list