ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/bin/setclasspath.bat

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/bin/setclasspath.bat
Status
scanned
Type
file
Name
setclasspath.bat
Extension
.bat
Programming language
Batchfile
Mime type
text/x-msdos-batch
File type
DOS batch file, ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
3382 (3.3 KB)
MD5
55ef4f25cc56521e27e45802f85b052b
SHA1
bdad69563a58150fcb801b1d49759b714259d65e
SHA256
612f21f66d794e05a8f1755d3e83c4aaee20ce4420a6f417d962ed6ab4901828
SHA512

      
    
SHA1_git
e9f424a82f9441e86108be646a5152247a52166a
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
setclasspath.bat | 3.3 KB |

@echo off rem Licensed to the Apache Software Foundation (ASF) under one or more rem contributor license agreements. See the NOTICE file distributed with rem this work for additional information regarding copyright ownership. rem The ASF licenses this file to You under the Apache License, Version 2.0 rem (the "License"); you may not use this file except in compliance with rem the License. You may obtain a copy of the License at rem rem http://www.apache.org/licenses/LICENSE-2.0 rem rem Unless required by applicable law or agreed to in writing, software rem distributed under the License is distributed on an "AS IS" BASIS, rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. rem See the License for the specific language governing permissions and rem limitations under the License. rem --------------------------------------------------------------------------- rem Set JAVA_HOME or JRE_HOME if not already set, ensure any provided settings rem are valid and consistent with the selected start-up options. rem --------------------------------------------------------------------------- rem Make sure prerequisite environment variables are set rem In debug mode we need a real JDK (JAVA_HOME) if ""%1"" == ""debug"" goto needJavaHome rem Otherwise either JRE or JDK are fine if not "%JRE_HOME%" == "" goto gotJreHome if not "%JAVA_HOME%" == "" goto gotJavaHome echo Neither the JAVA_HOME nor the JRE_HOME environment variable is defined echo At least one of these environment variable is needed to run this program goto exit :needJavaHome rem Check if we have a usable JDK if "%JAVA_HOME%" == "" goto noJavaHome if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome if not exist "%JAVA_HOME%\bin\jdb.exe" goto noJavaHome if not exist "%JAVA_HOME%\bin\javac.exe" goto noJavaHome set "JRE_HOME=%JAVA_HOME%" goto okJava :noJavaHome echo The JAVA_HOME environment variable is not defined correctly. echo JAVA_HOME=%JAVA_HOME% echo It is needed to run this program in debug mode. echo NB: JAVA_HOME should point to a JDK not a JRE. goto exit :gotJavaHome rem No JRE given, check if JAVA_HOME is usable as JRE_HOME if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHomeAsJre rem Use JAVA_HOME as JRE_HOME set "JRE_HOME=%JAVA_HOME%" goto okJava :noJavaHomeAsJre echo The JAVA_HOME environment variable is not defined correctly. echo JAVA_HOME=%JAVA_HOME% echo NB: JAVA_HOME should point to a JDK not a JRE. goto exit :gotJreHome rem Check if we have a usable JRE if not exist "%JRE_HOME%\bin\java.exe" goto noJreHome goto okJava :noJreHome rem Needed at least a JRE echo The JRE_HOME environment variable is not defined correctly echo JRE_HOME=%JRE_HOME% echo This environment variable is needed to run this program goto exit :okJava rem Don't override _RUNJAVA if the user has set it previously if not "%_RUNJAVA%" == "" goto gotRunJava rem Set standard command for invoking Java. rem Also note the quoting as JRE_HOME may contain spaces. set "_RUNJAVA=%JRE_HOME%\bin\java.exe" :gotRunJava rem Don't override _RUNJDB if the user has set it previously rem Also note the quoting as JAVA_HOME may contain spaces. if not "%_RUNJDB%" == "" goto gotRunJdb set "_RUNJDB=%JAVA_HOME%\bin\jdb.exe" :gotRunJdb goto end :exit exit /b 1 :end exit /b 0
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
24.34
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-40bbb331-4841-7906-cced-85f41fbf3f3e apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 9 9