Introduction to Java and Eclipse 1 / 22

Total Page:16

File Type:pdf, Size:1020Kb

Introduction to Java and Eclipse 1 / 22 Introduction to Java and Eclipse 1 / 22 Introduction to Java and Eclipse Mustafa Haddara Department of Computing and Software McMaster University Week 1: Sept 12 - 16 Mustafa Haddara Introduction to Java and Eclipse 1 / 22 Introduction to Java and Eclipse 2 / 22 Outline Outline 1 Getting Started Getting Java Integrated Development Environments (IDEs) Setting Up IntelliJ Idea Downloading IntelliJ Idea Installing IntelliJ Idea Setting Up Eclipse Downloading Eclipse Installing Eclipse 2 Hello, World! 3 Examining a Program 4 Further Reading Mustafa Haddara Introduction to Java and Eclipse 2 / 22 Introduction to Java and Eclipse 3 / 22 Getting Started Getting Java Getting Java 1 Visit http://www.oracle.com/technetwork/java/ javase/downloads/index.html 2 Download and install the correct version of Java Platform (JDK) 8 for your system. Any version of Java 8 (ex 8u20, 8u72, 8u102, etc.) is acceptable for this course. Mustafa Haddara Introduction to Java and Eclipse 3 / 22 Introduction to Java and Eclipse 4 / 22 Getting Started Integrated Development Environments (IDEs) What is an IDE? What is an IDE? Mustafa Haddara Introduction to Java and Eclipse 4 / 22 Introduction to Java and Eclipse 5 / 22 Getting Started Integrated Development Environments (IDEs) What is an IDE? IDE = Integrated Development Environment Software application Usually includes: source code editor build automation tools debugger Mustafa Haddara Introduction to Java and Eclipse 5 / 22 Introduction to Java and Eclipse 6 / 22 Getting Started Integrated Development Environments (IDEs) Java IDEs Some popular Java IDEs: 1 Eclipse 2 IntelliJ 3 NetBeans 4 BlueJ Mustafa Haddara Introduction to Java and Eclipse 6 / 22 Introduction to Java and Eclipse 7 / 22 Getting Started Setting Up IntelliJ Idea Downloading IntelliJ Idea 1 Visit https://www.jetbrains.com/idea IntelliJ 16 comes in Community (ie. Free) and Ultimate (paid) versions...but as students you can get the Ultimate version for free! Visit https://www.jetbrains.com/student and sign up with your McMaster email address; you'll be e-mailed instructions for the Ultimate version. 2 Download the correct version of IntelliJ Idea 16 for your system. 3 For this course we'll be using Java 8, which IntelliJ Idea 16 supports by default. Mustafa Haddara Introduction to Java and Eclipse 7 / 22 Introduction to Java and Eclipse 8 / 22 Getting Started Setting Up IntelliJ Idea Installing IntelliJ Idea on a Mac Mac 1 Find .dmg le (probably in your Downloads folder) 2 Double-click on it to mount it. A window will open showing an application named IntelliJ Idea 3 Drag IntelliJ Idea into Applications folder 4 Drag it to your dock to make it easier to launch Mustafa Haddara Introduction to Java and Eclipse 8 / 22 Introduction to Java and Eclipse 9 / 22 Getting Started Setting Up IntelliJ Idea Installing IntelliJ Idea on a Linux Machine 1 Find .tar.gz le (probably in your Downloads folder) 2 Extract the idea-IC or idea-IU folder into your Applications folder 3 Open a terminal and type: cd /Applications/<name of intellij folder>/bin. Hit enter. 4 Type ./ideaIC.sh (or ./ideaIU.sh if you downloaded the ultimate edition). 5 After completing the setup, on the Welcome Screen click on Congure and then on Create Desktop Entry. This will let you start IntelliJ without typing in the terminal as we did earlier. Mustafa Haddara Introduction to Java and Eclipse 9 / 22 Introduction to Java and Eclipse 10 / 22 Getting Started Setting Up IntelliJ Idea Installing IntelliJ Idea on a PC Windows 1 Run the .exe le you downloaded. Follow all of the instructions. Mustafa Haddara Introduction to Java and Eclipse 10 / 22 Introduction to Java and Eclipse 11 / 22 Getting Started Setting Up IntelliJ Idea Creating a Project in IntelliJ Idea 1 Select Create New Project. Select Java and Java EE. 2 Click on the New.. button next to Project SDK eld at the top and select JDK to tell IntelliJ about an SDK. You will see a window pop up showing your le system. IntelliJ will try to guess where Java is installed. If it does not nd the Java 8 that you just installed, navigate to the correct folder: Windows: C:/Program Files/Java/jdk1.8.0_102 OS X: /Library/Java/JavaVirtualMachines/ jdk1.8.0_102.jdk/Contents/Home Linux: /usr/jdk/jdk1.8.0_102/ 3 Click Next. Choose a project name and location on your hard drive. 4 Click Finish. Mustafa Haddara Introduction to Java and Eclipse 11 / 22 Introduction to Java and Eclipse 12 / 22 Getting Started Setting Up Eclipse Downloading Eclipse 1 Visit http://www.eclipse.org/downloads/packages/ 2 Download the correct version of Eclipse IDE for Java Developers for your system. 3 For this course we'll be using Java 8, which Eclipse Neon supports by default. Mustafa Haddara Introduction to Java and Eclipse 12 / 22 Introduction to Java and Eclipse 13 / 22 Getting Started Setting Up Eclipse Installing Eclipse on a Mac Mac 1 Find .tar.gz le (probably in your Downloads folder) 2 Drag it to the Desktop 3 Double-click on it and nd a folder named eclipse 4 Drag eclipse folder into Applications folder 5 Inside eclipse folder nd application named Eclipse 6 Drag it to your dock to make it easier to launch Mustafa Haddara Introduction to Java and Eclipse 13 / 22 Introduction to Java and Eclipse 14 / 22 Getting Started Setting Up Eclipse Installing Eclipse on a Linux Machine Ubuntu Find and install Eclipse from the Ubuntu Software Center. Other Distributions Instructions should mirror Mac instructions. Mustafa Haddara Introduction to Java and Eclipse 14 / 22 Introduction to Java and Eclipse 15 / 22 Getting Started Setting Up Eclipse Installing Eclipse on a PC Windows 1 Find .zip le (probably in your Downloads folder) 2 Right-click on it 3 Select Extract All. and extract to C: (or whatever your root drive is) 4 After it is extracted, drag eclipse.exe to your Start menu to make it easier to launch Mustafa Haddara Introduction to Java and Eclipse 15 / 22 Introduction to Java and Eclipse 16 / 22 Getting Started Setting Up Eclipse Setting Java version to 8 (PC) 1 Once you have downloaded and installed the JDK, that eclipse is actually using this version and not an old one. 2 Navigate to window -> preferences -> Java 3 At this point it's possible that there is only one JRE (JDK) installed, which means you're ne 4 If there are two or more, you need to select Java 8 as the correct one. Mustafa Haddara Introduction to Java and Eclipse 16 / 22 Introduction to Java and Eclipse 17 / 22 Getting Started Setting Up Eclipse Creating a Project in Eclipse 1 Launch Eclipse. 2 Specify a Workspace (a directory where you would like Eclipse to save your work) and press OK. 3 Create a new Java Project: File ! New ! Java Project Project name: My First Project Click Finish You may have to click the small x to leave the Welcome screen. Mustafa Haddara Introduction to Java and Eclipse 17 / 22 Introduction to Java and Eclipse 18 / 22 Hello, World! Hello, World!I 1 Create a new Java Class: File ! New ! Java Class Name: HelloWorld Click Finish You should see the following: public class HelloWorld { } Mustafa Haddara Introduction to Java and Eclipse 18 / 22 Introduction to Java and Eclipse 19 / 22 Hello, World! Hello, World! II 2 Write Your Program: public class HelloWorld { public static void main(String[] args) { System.out. println("Hello , World"); } } Mustafa Haddara Introduction to Java and Eclipse 19 / 22 Introduction to Java and Eclipse 20 / 22 Hello, World! Hello, World! III 3 Run Your Program: Click the Run button (IntelliJ: Green triangle to the left of your code; Eclipse: a round green play button at the top). The Console at the bottom of the windows should display Hello, World!. Mustafa Haddara Introduction to Java and Eclipse 20 / 22 Introduction to Java and Eclipse 21 / 22 Examining a Program Examining a Program Source: http://introcs.cs.princeton.edu/java/11cheatsheet Mustafa Haddara Introduction to Java and Eclipse 21 / 22 Introduction to Java and Eclipse 22 / 22 Further Reading Further Reading Find a Java tutorial you like and go through it step-by-step. If you've programmed in Java before, take an hour to refresh. If you would like some practice, check out these programming practice websites: CoderByte: https://coderbyte.com HackerRank: https://www.hackerrank.com Mustafa Haddara Introduction to Java and Eclipse 22 / 22.
Recommended publications
  • Single-Window Integrated Development Environment
    Московский государственный университет имени М.В. Ломоносова Факультет вычислительной математики и кибернетики Кафедра автоматизации систем вычислительных комплексов Лаборатория вычислительных комплексов Курсовая работа на тему: «Однооконный интерфейс среды разработки программ» Студент 422 группы Ручкин И.Д. Научный руководитель Прус В.В. Москва 2010 Аннотация В данной работе описывается подход к решению проблем сложности графического интерфейса пользователя для интегрированных сред разработки программ, заключающийся в создании однооконного интерфейса. Этот подход предполагает удаление инструментальных окон – дополнительных окон среды разработки – и перенесение их функциональности в окно текстового редактора. Создание однооконного интерфейса включает обзор существующих интегрированных сред разработки программ, построение проекта однооконного интерфейса и частичную реализацию построенного проекта. Обзор сред разработки описывает организацию инструментальных окон и сами инструментальные окна популярных сред разработки программ. Результатом обзора является модель инструментальных окон, описывающая классы инструментальных окон, обобщенные инструментальные окна и их функциональность. За счет этой модели дальнейшие рассуждения абстрагируются от конкретных сред разработки программ. Далее в рамках полученной модели инструментальных окон создается проект однооконного интерфейса. Для этого рассматривается каждое обобщенное инструментальное окно и предлагается способ замены его функциональности. Предложенный проект однооконного интерфейса частично
    [Show full text]
  • Q1 Where Do You Use C++? (Select All That Apply)
    2021 Annual C++ Developer Survey "Lite" Q1 Where do you use C++? (select all that apply) Answered: 1,870 Skipped: 3 At work At school In personal time, for ho... 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% ANSWER CHOICES RESPONSES At work 88.29% 1,651 At school 9.79% 183 In personal time, for hobby projects or to try new things 73.74% 1,379 Total Respondents: 1,870 1 / 35 2021 Annual C++ Developer Survey "Lite" Q2 How many years of programming experience do you have in C++ specifically? Answered: 1,869 Skipped: 4 1-2 years 3-5 years 6-10 years 10-20 years >20 years 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% ANSWER CHOICES RESPONSES 1-2 years 7.60% 142 3-5 years 20.60% 385 6-10 years 20.71% 387 10-20 years 30.02% 561 >20 years 21.08% 394 TOTAL 1,869 2 / 35 2021 Annual C++ Developer Survey "Lite" Q3 How many years of programming experience do you have overall (all languages)? Answered: 1,865 Skipped: 8 1-2 years 3-5 years 6-10 years 10-20 years >20 years 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% ANSWER CHOICES RESPONSES 1-2 years 1.02% 19 3-5 years 12.17% 227 6-10 years 22.68% 423 10-20 years 29.71% 554 >20 years 34.42% 642 TOTAL 1,865 3 / 35 2021 Annual C++ Developer Survey "Lite" Q4 What types of projects do you work on? (select all that apply) Answered: 1,861 Skipped: 12 Gaming (e.g., console and..
    [Show full text]
  • License Agreement for Intellij Idea
    LICENSE AGREEMENT FOR APPCODE (Classroom License) Version 11, Effective as of 16 May 2013 IMPORTANT! READ CAREFULLY: THIS IS A LEGAL AGREEMENT. BY DOWNLOADING, INSTALLING, COPYING, SAVING ON YOUR COMPUTER, OR OTHERWISE USING THIS SOFTWARE, YOU (LICENSEE, AS DEFINED BELOW) ARE BECOMING A PARTY TO THIS AGREEMENT AND YOU ARE CONSENTING TO BE BOUND BY ALL THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT, YOU SHOULD NOT DOWNLOAD, INSTALL AND USE THE SOFTWARE. 1. PARTIES (a) "Licensor" means JetBrains s.r.o., having its principal place of business at Na hřebenech II 1718/10, Prague, 14700, Czech Republic, registered with Commercial Register kept by the Municipal Court of Prague, Section C, file 86211, ID.Nr.: 265 02 275. (b) "Licensee" means a public or private school, college, training courses, university and other post secondary educational establishment specified in the License Certificate, exercising rights under, and complying with the terms of this Agreement. 2. DEFINITIONS (a) "Authorized User" means any student, faculty or staff member authorized by Licensee to use the Software while performing duties within the scope of their employment or assignment. (b) "Software" means software program known as JetBrains AppCode in binary form, including its documentation, upgrades provided pursuant to Section 7 of this Agreement, and any third party software programs that are owned and licensed pursuant to Section 6 of this Agreement by parties other than Licensor and that either integrated with or made part of JetBrains AppCode (collectively, "Third Party Software"). (c) "License Certificate" means evidence of a license provided by Licensor to Licensee in electronic or printed form.
    [Show full text]
  • Ratan Sunder Parai
    Ratan Sunder Parai SOFTWARE ENGINEER Kallyanpur, Dhaka, Bangladesh (+880) 1771-998817 | [email protected] | ratanparai.wordpress.com | ratanparai | ratan-parai | ratanparai “Never memorize something that you can look up.” ― Albert Einstein Objective Super nerd who loves Vim and customize all of the development environment. Love to take challenge for devising a better problem-solving method while learning new technologies and tools as needed. Skills PHP, Node.JS, JavaScript, Python, JAVA, Android, C# .NET, C/C++, iOS (Objective-C), HTML5, Programming Typescript, Pug, CSS3, SASS, LESS, Regex, Swift 2 Database MySQL, MariaDB, MongoDB, SQLite, Redis Development Architecture MVC, MVW, REST API, Publish-Subscribe Express.JS, Socket.IO, AngularJS, Angular4, Gulp, Grunt, Codeigniter, Laravel, Slim Framework, Framework and Platform ASP.NET MVC, Entity Framework, Bootstrap, Foundation, SemanticUI, 960 Grid, Mocha, Chai, CMAKE, Bower, Composer, OAuth 1.0a, oAuth 2.0 VIM, Emacs, Xcode, Eclipse, WebStorm, Visual Studio, Visual Studio Code, Android Studio, Sublime Development Tool Text, IntelliJ IDEA, Code::Blocks, Geany, PyCharm, QT Creator Operating System Windows 98 – Windows 10, MacOS 10.4.4(Tiger) – 10.11(El Capitan), Ubuntu (8.04 – 15.10), Fedora Web Server Apache, Nginx, Lighttpd, Tor Hidden Service Languages Bengali, English Experience Leads Corporation Ltd. Dhaka, Bangladesh SOFTWARE ENGINEER INTERN May. 2017 - PRESENT • Developed Anti-skimming software (Terminal + Client) for Prime Bank in JAVA • Develop Customize Message Format
    [Show full text]
  • How Intellij IDEA Helps Your Business
    How IntelliJ IDEA Helps Your Business JetBrains IntelliJ IDEA is a capable and er- their overall productivity), IntelliJ IDEA can Remarkable Return on Investment (ROI) gonomic IDE for web, enterprise and mobile be an equally valuable asset for your busi- Java development. In addition to the bene- ness. It can save you money and resources Designed for productivity fits it provides to developers (such as saving by reducing software development and main- their time by automating routine tasks, locat- tenance costs, help you keep release sched- Code quality matters ing and fixing errors, taking advantage of in- ules, and even boost revenues by improving telligent support from the IDE, and increasing the quality of your software products. The power of IntelliJ Platform Facilitating workflow for the entire team Comprehensive and fast customer support Flexible licensing policy and bulk discounts Industry recognition Contact us Remarkable Return on Investment (ROI) At least 30% of the time, developers work According to our internal research, IntelliJ Compared to the labor cost, a price on fixing code issues that could be avoided IDEA users report a 23% to 35% increase of IntelliJ IDEA is only $ 1.9 per business altogether if the right development tools in their productivity when using IntelliJ IDEA, day (calculated based on 260 business were used. Newly hired developers spend in comparison with other IDEs or text edi- days per year). Not to mention the cumu- up to 70% of their time just getting up to tors. Considering that Java developers earn lative productivity boost for your whole speed with the existing codebase.
    [Show full text]
  • Watchdog for Intellij: an IDE Plugin to Analyze Software Testing Practices
    WatchDog For IntelliJ: An IDE Plugin To Analyze Software Testing Practices Master’s Thesis Igor Levaja WatchDog For IntelliJ: An IDE Plugin To Analyze Software Testing Practices THESIS submitted in partial fulfillment of the requirements for the degree of MASTER OF SCIENCE in COMPUTER SCIENCE by Igor Levaja born in Pozarevac, Serbia Software Engineering Research Group Department of Software Technology Faculty EEMCS, Delft University of Technology Delft, the Netherlands www.ewi.tudelft.nl c 2016 Igor Levaja. All rights reserved. WatchDog For IntelliJ: An IDE Plugin To Analyze Software Testing Practices Author: Igor Levaja Student id: 4318110 Email: [email protected] Abstract Software testing is as old as software development itself – they could not exist one without the other. However, are they equally important? Do software develop- ers devote an equivalent amount of time to both produce software and to test it? An ongoing study of the TestRoots project aims to examine and improve the state of the art of software testing and answer those questions, by observing developers’ everyday behavior. In order to support this effort, we evolved WatchDog, a single-platform software, to become the scalable, multi-platform and production-ready tool which assesses de- veloper testing activities in multiple integrated development environments (IDEs). We further used WatchDog platform to perform a small-scale study in which we examined testing habits of developers who use IntelliJ IDEA and compared them to those of the Eclipse IDE users. Finally, we were able to confirm that IntelliJ users, similarly to the Eclipse users, do not actively practice testing inside their IDEs.
    [Show full text]
  • Jformdesigner 5.1 Documentation
    JFormDesigner 5.1 Documentation JFormDesigner 5.1 Documentation Version: 5.1 Copyright © 2004-2012 FormDev Software GmbH. All rights reserved. Contents 1 Introduction .......................................................................................................................................... 2 2 User Interface ....................................................................................................................................... 3 2.1 Menus ............................................................................................................................................ 4 2.2 Toolbars ......................................................................................................................................... 7 2.3 Design View .................................................................................................................................... 8 2.3.1 Headers .................................................................................................................................. 10 2.3.2 In-place-editing ........................................................................................................................ 13 2.3.3 Keyboard Navigation ................................................................................................................. 13 2.3.4 Menu Designer ......................................................................................................................... 13 2.3.5 Button Groups .........................................................................................................................
    [Show full text]
  • Setup for Programming – Intellij Cosc 330, Computer Systems
    Setup for programming – IntelliJ CoSc 330, Computer Systems Assignment 2 requires you to write a program in Java. To complete the assignment you will need to (1) install aJavacompiler,(2)installaJavaintegrateddevelopmentenvironment(IDE),(3)completetheassignmentby writing the Java code, and (4) turn in the assignment electronically. In addition to these steps, this document provides (5) a troubleshooting guide for IntelliJ projects for this course. 1. Install a Java compiler. We will be using Java 11 from AdoptOpenJDK, which supplies a free Java Development Kit (JDK) with an open-source license. Click on the following link. https://adoptopenjdk.net For the version, select OpenJDK 11 (LTS), which stands for Long Term Support. For the JVM (Java Virtual Machine), select HotSpot. Follow the usual procedure for your platform – Mac, Windows, or Linux – to install the JDK. 2. Install a Java Integrated Development Environment (IDE). We will use an IDE from JetBrains called IntelliJ IDEA. Here is a link to the JetBrains IntelliJ IDEA page. https://www.jetbrains.com/idea/ Click the Downloads button to get to the downloads page for your platform. The page shows two versions of IntelliJ IDEA – Ultimate for enterprise development and Community for free open-source. Select the Community version, download it, and install it on your machine. The app will be named ”IntelliJ IDEA CE”. NOTE: There is a third version of IntelliJ IDEA for education that you might encounter on the JetBrains site. Do not install the edu version. 3. Complete Assignment 2. To write the Java program with IntelliJ: a. Download the file Prob0357.zip from the course web site.
    [Show full text]
  • Why Intellij IDEA? Developer Ergonomics
    Why IntelliJ IDEA? Developer ergonomics After IntelliJ IDEA’s indexed the source code, it offers Every aspect of IntelliJ IDEA is designed with ergonom- the developer blazing fast and intelligent experience ics in mind. IntelliJ IDEA is built on a principle that every Capable & ergonomic by giving relevant suggestions in every context: instant minute a developer spends in the flow is a good minute, and clever code completion, on-the-fly code analysis and things that break developers out of that flow are bad IDE for enterprise, and reliable refactoring tools. Mission-critical tools such and should be avoided. Most of the time the editor (and web & mobile as integrated version control systems and a wide variety the code) is the only thing visible on the screen, and the of supported languages and frameworks are at hand — developer doesn’t need to leave it to do something that Java development no plugin hassle included. isn’t coding-related. IntelliJ IDEA offers dedicated key- board shortcuts for nearly everything. Key features Built-in tools Enterprise frameworks Mobile development Web development • Smart code completion Version control Spring Android JavaScript HTTP Client Jakarta EE React Native TypeScript • Data flow analysis Build tools Micronaut Cordova HTML and CSS Cross-language refactorings • Profiling tools Quarkus Ionic Node.js • Inspections and quick-fixes Decompiler Helidon Angular • Shortcuts for everything Terminal Grails React Database tools Vue.js • First-class support for top frameworks • Rich plugin ecosystem Headquarters System requirements and International Sales Americas Sales: • Windows 8,10, macOS 10.13 or higher, JetBrains s.r.o. East Coast West Coast Linux using GNOME or KDE Na hřebenech II 1718 / 10, 10 Lake Center Dr #203 989 East Hillsdale Blvd.
    [Show full text]
  • How Does Pycharm Match up Against Competing Tools? Pycharm Is an IDE for Python Developed by We Tried to Make It As Comprehensive and Competitors Jetbrains
    How does PyCharm match up against competing tools? PyCharm is an IDE for Python developed by We tried to make it as comprehensive and Competitors JetBrains. PyCharm is built for professional Py- neutral as we possibly can. Although we have thon developers, and comes with many features taken care to ensure the data in this docu- Compatibility to deal with large code bases: code navigation, ment was accurate at the time of writing, the automatic refactoring, and other productivity products mentioned in the document are be- Feature Comparison tools, in a single unified interface. JetBrains has ing actively developed and their functionality extensively researched various tools to come changes on a regular basis. Pricing up with a comparison table below. Community Comparison Platform More Information To learn more about the product, please visit our website at jetbrains.com/pycharm Competitors We will compare PyCharm Professional There are other Python IDEs available: Wing and Eclipse are the biggest by market share. Edition with 2 competitors: IDE, Komodo, Spyder, and more. JetBrains For Eclipse we assume that only the PyDev internal research indicates that the vast ma- plugin is installed, though additional func- • Microsoft Visual Studio 2015 Enterprise jority of Python developers who use an IDE tionality may be available in other plugins. with Python Tools for Visual Studio are using PyCharm. After PyCharm, Sublime As some Eclipse plugins have compatibility Text and Vim are the most commonly used issues with each other, we are unable to ver- • Eclipse with PyDev installed editors, pure text editors to be more pre- ify whether configurations with more plugins cise.
    [Show full text]
  • Using an IDE
    Using an IDE Tools are a big part of being a productive developer on OpenJFX and we aim to provide excellent support for all three major IDEs: NetBeans, IntelliJ IDEA, and Eclipse. Regardless of which development environment you prefer, you should find it easy to get up and running with OpenJFX. We hope you will return the favor by submitting patches and bug reports! This section assumes that you have already succeeded in Building OpenJFX. A gradle build must complete before IDE support will fully work (otherwise your IDE will just be a glorified text editor with lots of red squiggles!). Specific instructions for using each IDE is provided below, followed by a discussion on Developer Workflow, Using Mercurial, and Communication with other members of the team. Further information on how we work can be found under Co de Style Rules. IDE Pre-Requirements Get a build of the latest JDK Get an IDE that supports the latest JDK JDK-8 Only: Delete jfxrt.jar (or move it to a different directory) Using NetBeans (JDK-8) Invoke NetBeans Add the JDK8 Platform Import the NetBeans Projects Rebuild Run Sample Code Run Sample Code with gradle built shared libraries Using IntelliJ IDEA Open the IntelliJ Project Make Run Sample Code Run Sample Code with Gradle Built Shared Libraries Using Eclipse Import the Eclipse Projects Configure Eclipse to use the latest JDK JUnit tests Running a dependent project Run Sample Code (NOTE: old) Using Gradle Run Sample Code with Gradle Built Shared Libraries (Note: old) IDE Pre-Requirements Despite the fact that most of the major IDE's support gradle directly, we have decided to provide pre-generated IDE configuration files in order to make using an IDE smooth and painless.
    [Show full text]
  • Fortify Static Code Analyzer (SCA) Static Application Security Testing
    Data Sheet Security Fortify Static Code Analyzer (SCA) Static Application Security Testing Micro Focus® Fortify Static Code Analyzer (SCA) pinpoints the root cause of security vulnerabilities in the source code, prioritizes the most serious issues, and provides detailed guidance on how to fix them so developers can resolve issues in less time with centralized software security management. Static Testing Helps Build of multiple specialized analyzers, uses secure Integration Ecosystem Includes: coding rules to analyze the code base for viola‑ Better Code ■ Integrated Development Environments (IDE): Static Application Security Testing identifies tions of secure coding practices. Fortify SCA Eclipse, Visual Studio, IntelliJ IDEA also provides a rules builder to extend and ex‑ security vulnerabilities during early stages of Build Servers: Jenkins, Bamboo, Visual Studio, pand static analysis capabilities and be able to ■ development when they are least expensive to Gradle, and more fix. It reduces security risks in applications by include custom rules. Results are viewed in a ■ Issue Trackers: Bugzilla, Jira, ALM Octane providing immediate feedback to developers number of ways depending on the audience on issues introduced into code during devel‑ and task. ■ Open Source Security Management: opment. Static Application Security Testing Sonatype, Snyk, WhiteSource, BlackDuck also helps educate developers about security Managing Results with Fortify ■ Code Repositories: GitHub, Bitbucket while they work, enabling them to create more Software Security Center (SSC) ■ Swaggerized API for unlimited customization secure software. Fortify Software Security Center (SSC) is a centralized management repository providing Fortify Static Code Analyzer (SCA) uses mul‑ visibility to an organization’s entire application tiple algorithms and an expansive knowledge security program to help resolve security vul‑ base of secure coding rules to analyze an ap‑ nerabilities across the software portfolio.
    [Show full text]