cmd

.file bat per la compilazione e l'esecuzione di materiale java

Sto cercando di creare due file bat. uno è c. bat e l'altro è r. bat C. bat contiene solo: cls javac *.java Che compiler ... ome posso fare questo? Ho appena iniziato a imparare queste cose e non riesco a trovare la risposta giusta da nessuna parte.

come ottenere la password wifi da cmd con java

Sto cercando di fornire la mia password di connessione wifi con java. ma devo farlo come amministratore. try { Process p ... race(); } Quando lo provo come utente standard: Quando lo provo come amministratore: Come può farlo nel codice java?

Apertura di file edrawingsviewer da java

Ho un'applicazione che eseguo su un pc con un mouse, voglio lanciare edrawingsviewer con un particolare nome di file da java ... lema di solidworks, penso che questo sia solo qualcosa che sto passando male o formattazione sbagliata o qualcosa del genere.

Come inviare un file (spostare / copiare) dal computer Windows al server utilizzando java

Voglio copiare alcuni file dal mio computer in una posizione server. Il mio computer è in esecuzione su Windows-7. I miei fi ... el server sul mio computer. Ho accesso in scrittura nel server. Ho davvero bisogno di una soluzione al mio problema. Grazie.

Risposta del prompt dei comandi Java intercept

Stavo facendo alcuni comandi cmd tramite java che sono solo input nel prompt dei comandi. Mi chiedevo se ci fosse un modo per ... rompt dei comandi, inviare la password tramite un nuovo comando cmd in una nuova e quindi non correlata finestra del prompt).

java-jar-Dapple.oh.UIElement = obiettivo "vero" / MyAppName-1.0-SNAPSHOT.jar-h non trova il nome della classe

Ho scritto il progetto maven in Eclipse. Funziona correttamente in Eclipse. Voglio eseguire questo progetto in cmd quindi scr ... /svn/mavenrepo/</url> </repository> </repositories> Ma ho ancora lo stesso errore .Come lo risolvo?

How do I run javac from cmd to correctly display Cyrillic characters in the file name when displaying compilation results?

Compiling a java file with a Cyrillic name from the command line. When errors are output, hieroglyphs are output. How can it be solved?

Executing system commands from under Java (Runtime. exec)

I need an explanation of the syntax of "system commands" for the exec method parameter(). Runtime.getRuntime().exec("cmd / ... ong the way. Where can I find a complete syntax guide? The Oracle documentation is silent about this... In advance thanks)

Java file doesn't start-Error: could not open `...\jvm.cfg

When writing a command in the javac "имя файла" console, the process of adding a .class occurs BUT when I write java "имя кла ... , this error occurs: Error: could not open `C:\Program Files\Java\jre1.8.0_251\lib\amd64\jvm.cfg' Help me solve this problem.

The ping command in the windows console in Java

You need to run the ping command and get the result to the console. Sample code: public class test { public static void ... result. Microsoft Windows [Version 10.0.15063] (c) Корпорация Майкрософт (Microsoft Corporation), 2017. Все права защищены.

How can I run a command in CMD (system console) from a Java application?

You need to run the command from the program. For example, you need to copy the file copy C:\file.txt \\server. Or is this only possible by calling an external batch file?

ping in java from the command line. encoding problem

There is such a code: import java.io.BufferedReader; import java.io.InputStreamReader; public class PingIP { public s ... es in Russian by default. Maybe you can change it to English, but this is in the background, I would like to speak Russian.

When running a java file in sumblime and win cmd, the encoding is different

There is a txt file that I read and display on the screen. If it is in ansi encoding by default, cmd outputs the Russian text ... in cmd, I was helped by the keys-encoding utf8, but if it comes to a utf8 file, it does not roll. Screenshots are attached

Error when compiling an example from Horstmann and Kornegi's book Java.Professional Library"

Faced with the problem of compiling examples from the 5th chapter of this book. In the previous chapters, there were no probl ... public void raiseSalary(double byPercent){ double raise = salary * byPercent / 100; salary += raise; } }