About 765,000 results
Open links in new tab
  1. Making a Java Makefile - Stack Overflow

    Mar 22, 2015 · Using make with java can be an exercise in driving screws with a hammer as soon as you have more than one class. Working java code will use packages. So you'll have a …

  2. java - How do I create a file and write to it? - Stack Overflow

    May 21, 2010 · Java NIO. If you already have the content you want to write to the file (and not generated on the fly), the java.nio.file.Files addition in Java 7 as part of Java NIO provides the …

  3. java - The simplest way to create a jar file? - Stack Overflow

    jar cf jar-file input-file(s) The options and arguments used in this command are: The c option indicates that you want to create a JAR file. The f option indicates that you want the output to …

  4. ant - Why is no one using make for Java? - Stack Overflow

    Feb 5, 2010 · Each Java source file can generate more than one class file (e.g. inner classes, or dependent classes --- the compiler will look for and compile additional source files that the files …

  5. java - Create a directory if it does not exist and then create the ...

    Mar 9, 2015 · The condition is if the directory exists it has to create files in that specific directory without creating a new directory. The below code only creates a file with the new directory but …

  6. How do I create an .exe for a Java program? - Stack Overflow

    If the end-user is non-technical, then a .jar file is sufficient only if Java is installed on the target machine and java.exe is on the PATH and the main class is specified in the manifest file. in …

  7. How do I make a JAR from a .java file? - Stack Overflow

    Agree with Chuck. Take a look at ANT. IDEs are great for developing, but you need to understand how things works. java files are compiled via javac to .class files, after this, .class files can be …

  8. How to create a zip file in Java - Stack Overflow

    Jul 7, 2009 · Is there a way to make this work if the extension is not .zip? I need to write a .foo file, which is formatted exactly like a zip file, but with a different extension. I know I could make a …

  9. java - How to make an executable JAR file? - Stack Overflow

    Mar 10, 2011 · Creating a jar file with out any dependent jars will work as per the below steps. 1.Compile Test.Java file javac Test.java --- write your code here. 2.Create a manifest file …

  10. How can I convert my Java program to an .exe file?

    Sep 29, 2008 · When the program is in .jar format, it can run in Multiple Platforms as opposed to .exe which would run Only in very limited Environment. I am for the Idea that Java Programs …

Refresh