Git Product home page Git Product logo

java_experiment's Introduction

Java_Experiment

Java Example


Java

Install and Set Env in Vs Code

  1. https://code.visualstudio.com/docs/java/java-tutorial

  2. From plugin get Java Extension Pack

  3. command platter: java: overview

  4. command platter: java: configure java Runtime

    • Download jdk from java overview
    • $ mkdir /usr/lib/jvm; cd /usr/lib/jvm
    • $ tar -xvzf /root/OpenJDK11U-jdk_x64_linux_hotspot_11.0.8_10.tar.gz
  5. Java Path Set

$ update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk-11.0.8+10/bin/java" 0
$ update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk-11.0.8+10/bin/javac" 0
$ update-alternatives --set java "/usr/lib/jvm/jdk-11.0.8+10/bin/java"
$ update-alternatives --set javac "/usr/lib/jvm/jdk-11.0.8+10/bin/javac"
  1. /etc/environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/usr/lib/jvm/jdk-11.0.8+10/bin"
JAVA_HOME="/usr/lib/jvm/jdk-11.0.8+10"
  1. Restart system
  2. In command platter: java: configure java Runtime set java.home = /usr/lib/jvm/jdk-14.0.1
  3. command platter: Java: Getting Started

Java Project Structure

http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html

Java Library

  • Core Java
  • Maven
    • Java App (maven-archetype-quickstart)
    • servlet/jsp/JSTL (JSP Standard Tag Library) (maven-archetype-webapp)
    • mvc jsp (maven-archetype-mvc-1.0-blank)
    • Hibernet (WIP)
    • Spring (WIP)
    • CLI (WIP)
    • REST (WIP) (Spring)

Keyword

  • IOC, AOP, DAO, Context, ORM, WEB MVC, POJO

java_experiment's People

Contributors

ajaypp123 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.