`
bryan.liu
  • 浏览: 19363 次
  • 性别: Icon_minigender_1
  • 来自: suzhou
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

A example to run the Java APP in bat

阅读更多

@echo off

cls

REM --- BEG MACHINE-DEPENDENT ----

set HOME_J2RE=C:\Program Files\Java\jdk1.5.0_17

REM --- END MACHINE-DEPENDENT ----

set HOME_JAVA=%HOME_J2RE%\bin\java

set HOME_JAVA="%HOME_JAVA%"

set ARG_MEMORY=-Xms128m -Xmx196m

set PROP_POLICY=-Dorg.ragingcat.kst.uikeytool.policy.extended=false

set MAIN_JAR=rg15ktl.jar

set _CMD_=%HOME_JAVA% %ARG_MEMORY% %PROP_POLICY% -jar %MAIN_JAR%

@echo %_CMD_%

%_CMD_%

分享到:
评论

相关推荐

    shell,bat脚本运行java程序

    4. 运行脚本:双击`run_java.bat`文件或者在命令提示符中输入`run_java.bat`后回车。 在上述脚本中,`java -cp`参数用于指定类路径,`-cp`后面是包含主类的jar文件路径。`MAIN_CLASS`变量存储了Java程序的主类名,`...

    Java in easy steps: Covers Java 9, 6th Edition - epub格式

    How to create an Android app, as the core libraries in the Android operating system provide Java functionality. Table of Contents Chapter 1. Getting started Chapter 2. Performing operations Chapter 3....

    深入java虚拟机(inside the java virtual machine)

    The Lifetime of a Java Virtual Machine The Architecture of the Java Virtual Machine Data Types Word Size The Class Loader Subsystem Loading, Linking and Initialization The Primordial Class ...

    java用bat运行程序

    这样,只需双击.bat文件,就可以自动调用Java虚拟机(JVM)运行我们的Java程序。下面,我们将详细探讨如何实现这个过程以及涉及的相关知识点。 首先,Java程序运行需要Java开发工具包(Java Development Kit,简称...

    Introduction to Programming in Java 2nd Robert Sedgewick

    This example-driven guide focuses on Java’s most useful features and brings programming to life for every student in the sciences, engineering, and computer science. Coverage includes Basic ...

    Example Voting App 示例投票App

    Docker Compose 经典示例: Example Voting App 示例投票App

    Android.App.Development.in.Android.Studio.Java.Android.Edition.For.Beginners.pdf

    As the reader follows the development of the example apps, he/she will learn designing user interfaces, connecting interface objects to code, developing efficient Java code and testing the app on ...

    bat 运行java main方法

    `bat`文件是Windows操作系统中的批处理脚本,它可以用来自动化一系列命令行操作,包括运行Java应用程序。在这个场景下,`bat`文件被用来启动包含`main`方法的Java程序。`main`方法是Java程序的入口点,按照`public ...

    Introduction to Programming in Java, 2nd Edition (2017.4出版.EPUB格式)

    This example-driven guide focuses on Java’s most useful features and brings programming to life for every student in the sciences, engineering, and computer science. Coverage includes Basic ...

    How to use epoll A complete example in C

    How to use epoll A complete example in C How to use epoll A complete example in C How to use epoll A complete example in C How to use epoll A complete example in C

    Java 9 Programming By Example

    By the end of the book, you will have a firm foundation to continue your journey towards becoming a professional Java developer. What you will learn Compile, package and run a trivial program using ...

    This is a good example to add your programs’ icon to the Sy

    This is a good example to add your programs’ icon to the Systray. This Zip also includes a helpful example.

    The Java EE 6 Tutorial Basic Concepts 4th Edition

    Chapter 23: Introduction to Security in the Java EE Platform 429 Overview of Java EE Security 430 Security Mechanisms 435 Securing Containers 439 Securing the GlassFish Server 440 Working with ...

    Java: A Beginner's Guide 5th Edition

    Fully updated to cover Java Platform, Standard Edition 7 (Java SE 7), Java: A Beginner's Guide, Fifth Edition starts with the basics, such as how to compile and run a Java program, and then discusses...

    java实验7.1(CollegeCourse.java)

    Run the example by going to c:\java\lab7 and typing: java ynu/edu/lab7/UseCourse For example, the output could be: The cost of your course is $180.0 there is a $25.00 lab fee. The cost of your ...

    Java Examples in a Nutshell, 3rd Edition

    The chapters on XML and servlets have been rewritten to cover the latest versions of the specifications and to demonstrate best practices for Java 1.4. New and updated examples throughout the book ...

    《Java Design Patterns》高清完整PDF版

    Learn how to implement design patterns in Java: each pattern in Java Design Patterns is a complete implementation and the output is generated using Eclipse, making the code accessible to all....

Global site tag (gtag.js) - Google Analytics