Skip to content

Planet-Source-Code/alcodes-compiling-java-files-with-right-click-windows__2-4418

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Compiling .java files with right click (windows)

Description

This allows you to right click on any java source file and Compile it.

More Info

Submitted On
By Alcodes
Level Beginner
User Rating 5.0 (15 globes from 3 users)
Compatibility Java (JDK 1.1), Java (JDK 1.2), Java (JDK 1.3), Java (JDK 1.4), Java (JDK 1.5)
Category Browser/ System Services
World Java
Archive File

Source Code


This was done in windows by me because I became sick and tired of typing javac Foo.java, so if you too are tired of doing so and dont have something like forte, you can do the following:

  1. Go to ANY folder
  2. at the menu at the top of the page click:

        view then click on file types

  3. search for java(manually), once you have found this, click on edit
    IF YOU DONT FIND IT, click on new type, then type a description of the file (Java Source File for me), and the associated extension (java), you should also put in a mime type, but it isnt necessary

  4. Below Where it says actions, there should be a button saying "New", click on that button and add the following for action: Compile
    and for the application performed, look for javac.exe (C:\j2sdk141\bin\javac.exe for me) and ad a % sign after it

    Woo hoo, you done, now enjoy compiling java files the lazy way ;)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published