- Java 9 Programming Blueprints
- Jason Lee
- 125字
- 2021-07-02 18:56:29
Creating a project
Typically speaking, it is much better if a build can be reproduced without requiring the use of a specific IDE or some other proprietary tool. Fortunately, NetBeans offers the ability to create a Maven-based JavaFX project. Click on File | New Project and select Maven, then JavaFX Application:

Next, perform the following steps:
- Click on Next.
- Enter Project Name as ProcessManager.
- Enter Group ID as com.steeplesoft.
- Enter Package as com.steeplesoft.processmanager.
- Select Project Location.
- Click on Finish.
Consider the following screenshot as an example:

Once the new project has been created, we need to update the Maven pom to use Java 9:
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.6.1</version> <configuration> <source>9</source> <target>9</target> </configuration> </plugin> </plugins> </build>
Now, with both NetBeans and Maven configured to use Java 9, we're ready to start coding.
推薦閱讀
- HornetQ Messaging Developer’s Guide
- 玩轉Scratch少兒趣味編程
- Visual C++串口通信開發入門與編程實踐
- 深入淺出Java虛擬機:JVM原理與實戰
- PaaS程序設計
- Java Web開發之道
- SQL for Data Analytics
- PHP網絡編程學習筆記
- Hadoop+Spark大數據分析實戰
- FFmpeg入門詳解:音視頻原理及應用
- C程序設計實踐教程
- Selenium Testing Tools Cookbook(Second Edition)
- 單片機C語言程序設計實訓100例
- SQL Server實用教程(SQL Server 2008版)
- 新一代SDN:VMware NSX 網絡原理與實踐