Notes for studing Java - Development preparation
2013-01-23 22:06
316 查看
I'm now ready to study Java again. It has been years since last time I touched it, and will rework with it sooner.
First of all, I have to create a basic environment for developping Java.
and Auto Complete", then configure as:
andInstall.
Or just go to http://sourceforge.net/projects/npp-plugins/files/
and download & install. (may be very slow to you)
Or go to http://download.csdn.net/download/wxqee/5023600 (my csdn shared
resources).
scripts:
Then "Save..." as a script.
Then go to menu "Plugins > NppExec > Execute...",
choose the script that just created, and click "OK", to see the output down in "Console"..
Oh, yeah. It works!!
TODOs:
1.Object-Relational Mappting
2.JAXB
Note is at EOF
First of all, I have to create a basic environment for developping Java.
OS | Windows 7 |
Java Version | 1.7.0 |
Source code editor | Notepad++ |
Prepare a simple IDE with Notepad++
To enbale "Auto Complete"
Go to menu "Settings >Preferences", click tab "Backupand Auto Complete", then configure as:
Download Notepad++ plugin "NppExec"
Go to menu "Plugins>Plugin Manager >Show Plugin Manager", then find "NppExec" in tab "Available"andInstall.
Or just go to http://sourceforge.net/projects/npp-plugins/files/
and download & install. (may be very slow to you)
Or go to http://download.csdn.net/download/wxqee/5023600 (my csdn shared
resources).
Configure "NppExec" to compile & run a single Java file.
Go to menu "Plugins>NppExec>Execute...", then configure the textarea as a new script with the followingscripts:
cd $(CURRENT_DIRECTORY) javac $(FILE_NAME) java $(NAME_PART)
Then "Save..." as a script.
Try a demo "Hello world".
Create a java scource file "Main.java" anywhere, asimport java.io.*; public class Main { public static void main (String[] args) { System.out.println("Hello World"); } }
Then go to menu "Plugins > NppExec > Execute...",
choose the script that just created, and click "OK", to see the output down in "Console"..
Oh, yeah. It works!!
TODOs:
1.Object-Relational Mappting
2.JAXB
Note is at EOF
相关文章推荐
- Notes for "java.util.MissingResourceException Can't find bundle for base name"
- Java Web Services Developer Pack Installation Notes for Windows
- Some notes for Java
- Read notes for core java: Objects and classes
- Notes for Java(part a)
- Notes for Java(Part b)
- Notes for Java(Part c)
- Notes for Java(Part d)
- OVAL user guides (the object validation framework for Java)
- Decompiled .class file,bytecode version:52.0(Java 8) Source for 'Android API 24 Platform' not found
- JavaForNewbies
- java.exe is valid, but is for a machine type other than the current machine
- Caused by: java.lang.NumberFormatException: For input string: ""
- struts2,hibernate java.lang.NumberFormatException: For input string 错误
- PHPRCP for Java
- programming for java virtual machine note
- SLF4J-SImple Logging Facade for Java
- java操作数据库出现(][SQLServer 2000 Driver for JDBC]Error establishing socket.)的问题所在即解决办法
- 用 for/in 在 Java 5.0 中增强循环
- Java for LeetCode 093 Restore IP Addresses