About 5,000,000 results
Open links in new tab
  1. windows - Java: run as administrator - Stack Overflow

    The easiest way would be to use a wrapper to launch your JVM, then elevate the wrapper. I use a simple NSIS installer script with the UAC plugin to do this: ; command to execute . StrCpy $0 …

  2. How to Open a JAR File with Administrator Privileges?

    Running a JAR (Java ARchive) file with administrator privileges may be necessary for applications that require elevated permissions to access certain system resources or configuration settings. …

  3. How do I enable and view the Java Console?

    You can enable the Java Console for the Windows platform using the Java Control Panel or the Java icon displayed in the Windows system tray. Expand the Java console option. Select …

  4. How to Run a Java Program from the Command Prompt

    Sep 29, 2022 · Make sure to save the file with the extension “.java” rather than “.txt.” Open the Command Prompt from the Windows Start Menu, and don’t forget to run it as “Administrator.” …

  5. How to run java program on Command Prompt/Terminal with ... - Reddit

    Jun 6, 2020 · First, you have to navigate to the folder where the java file is located. You can do this using the "cd" command to move around to where you keep your files. Then you compile …

  6. java - Execute jar file as Administrator in Windows - Stack Overflow

    First: open CMD as administrator and open jar: Run command prompt as administrator first. Start > cmd > right click > run as administrator. Run the jar file using . java -jar c:\path\to\jar\file.jar …

  7. How to Run Java as Administrator: A Step-by-Step Guide

    Oct 24, 2024 · In this step-by-step guide, we will walk you through the process of running Java as an administrator, ensuring that you have the necessary privileges to execute Java programs …

  8. How to Open JAR Files on Windows 10 and 11 - How-To Geek

    To run a JAR file on Windows 10 or Windows 11, right-click it, then select Open With > Java Platform SE Binary. Alternatively, you can view or extract the contents of a JAR file by opening …

  9. .Jar Files only executable trough CMD terminal java -jar …

    Dec 13, 2015 · I used to be able to just double click the .jar file or , open with java(TM) platform SE binary ,. I found a solution to that problem , by win+r (run) running :CMD and navigating to …

  10. How to Run a Java Program as Administrator on Windows

    Running a Java application as an administrator can be necessary when the program requires elevated privileges to access certain system resources or perform restricted actions. This …

Refresh