vTomb Logo

Java Tutorial - How to write, compile and run Java programs all within Notepad++ Video

Home
How to write, compile and run Java programs all within Notepad++.

This is a short video tutorial to illustrate the steps required to configure the Notepad++ editor on Windows so as to allow you to write, compile and run a Java program all within the Notepad++ editor and consequently, not having to use the command prompt. The major benefits to be obtained is a quicker Java development lifecycle and an accelerated learning process as you progress in learning Java.

In this video I am using Windows 7 but these steps will work equally well for Windows 8, 8.1 and Windows 10. This video tutorial assumes you have already downloaded and installed the Notepad++ editor on your computer (if you have not, please watch this video http://youtu.be/bess4G8YG8U). This video tutorial also assumes you have already downloaded and installed the Java JDK.

For your convenience, I am including below the commands required by the NppExec plugin (explained in the video).

NPP_SAVE
cd $(CURRENT_DIRECTORY)
c:\java\jdk180\bin\javac $(FILE_NAME)
c:\java\jdk180\bin\java $(NAME_PART)

Note: the full path to my Java installation folder is c:\java\jdk180. You may have installed the Oracle Java JDK into a different location, hence your full pathname may be different. I have added one additional command that is not in the video - NPP_SAVE. This command tells the NppExec plugin to save the current Java source file being edited before attempting to compile and run it. Thus, it eliminates the requirement to save the Java source file each time you wish to compile it.

There is a deeper motivation behind this video. Briefly, in 1984 David Kolb published what is considered a ground breaking book called Experiential Learning: experience as the source of learning and development. It facilitates an accelerated learning lifecycle. Feedback that is received sooner and more frequently allows for corrective action to be taken at an earlier stage in the learning process, and hence leads not only to better learning outcomes, but more learning outcomes in less time. Thus, it is win-win situation. This is the pedagogical reasoning underlying my motivation to make this video tutorial – to help you learn more and better in less time. I hope it may be of assistance to you.

WATCH SOME MORE JAVA TUTORIALS

Enhanced For Loop Explained and Illustrated
https://youtu.be/DMCzrojoHgY

For Loops Explained and Common Pitfalls Highlighted
https://youtu.be/E0gdEuTrokc

How to use the Shortcut Operators
https://youtu.be/zgQRCfEsHIQ

How to use the Conditional Operator ( ? : )
https://youtu.be/ELBN9LNWavQ

Compare Objects - Equality Operator Vs Equals Method
https://youtu.be/tJQlBTnEekQ

Passing by Value (Object References)
https://youtu.be/BHtfb3lfc-g

Command Line Arguments
https://youtu.be/8lvb7sSDAuk

How To Write A Method Part II
https://youtu.be/dNFsljRwZhA

How To Write A Method Part I
https://youtu.be/qQDGYfQPpGg

Passing by Value (Primitive Data Types)
https://youtu.be/h9uD7ipqu3w

Division and Modulo Operators Explained
https://youtu.be/C_U3DgzFCpU

Operator Precedence Explained
https://youtu.be/iWFmd3HZ4dM

What are Data Types, Variables and Constants?
https://youtu.be/pw0WTlaw74c

How to use Nested If Statements
https://youtu.be/NrYRPr2grdc

How to use simple If Statements
https://youtu.be/OqrgC3IATYI

What are Control Flow Statements
https://youtu.be/0bWnwpZt67w

How to Write, compile and run your first Java program on Windows
https://youtu.be/EAFERGKdAko

How to download and install the Notepad++ editor on Windows
https://youtu.be/bess4G8YG8U
150 chances to become an millionaire

150 chances to become an millionaire

wildsbet.com

#big wins#winners#games#casinos

About the Site 🌐

This site provides links to random videos hosted at YouTube, with the emphasis on random. πŸŽ₯

Origins of the Idea 🌱

The original idea for this site stemmed from the need to benchmark the popularity of a video against the general population of YouTube videos. 🧠

Challenges Faced πŸ€”

Obtaining a large sample of videos was crucial for accurate ranking, but YouTube lacks a direct method to gather random video IDs.

Even searching for random strings on YouTube doesn't yield truly random results, complicating the process further. πŸ”

Creating Truly Random Links πŸ› οΈ

The YouTube API offers additional functions enabling the discovery of more random videos. Through inventive techniques and a touch of space-time manipulation, we've achieved a process yielding nearly 100% random links to YouTube videos.

About YouTube πŸ“Ί

YouTube, an American video-sharing website based in San Bruno, California, offers a diverse range of user-generated and corporate media content. 🌟

Content and Users 🎡

Users can upload, view, rate, share, and comment on videos, with content spanning video clips, music videos, live streams, and more.

While most content is uploaded by individuals, media corporations like CBS and the BBC also contribute. Unregistered users can watch videos, while registered users enjoy additional privileges such as uploading unlimited videos and adding comments.

Monetization and Impact πŸ€‘

YouTube and creators earn revenue through Google AdSense, with most videos free to view. Premium channels and subscription services like YouTube Music and YouTube Premium offer ad-free streaming.

As of February 2017, over 400 hours of content were uploaded to YouTube every minute, with the site ranking as the second-most popular globally. By May 2019, this figure exceeded 500 hours per minute. πŸ“ˆ

List of ours generators⚑

Random YouTube Videos Generator

Random Film and Animation Video Generator

Random Autos and Vehicles Video Generator

Random Music Video Generator

Random Pets and Animals Video Generator

Random Sports Video Generator

Random Travel and Events Video Generator

Random Gaming Video Generator

Random People and Blogs Video Generator

Random Comedy Video Generator

Random Entertainment Video Generator

Random News and Politics Video Generator

Random Howto and Style Video Generator

Random Education Video Generator

Random Science and Technology Video Generator

Random Nonprofits and Activism Video Generator

By using our services, you agree to our Privacy Policy.
Alternative random YouTube videos generator: YouTuBeRandom
vTomb Β© 2024
By using our services, you agree to our Privacy Policy.
OK