LoginSignup
0
0

More than 5 years have passed since last update.

Java JDK install

Last updated at Posted at 2018-12-30

環境

CentOS 7

以下を参考に。
https://weblabo.oscasierra.net/java-install-oracle-jdk9-centos7/

sbt インストール

tar コマンド

## アーカイブ
$ tar cvf tarファイル名 アーカイブ対象ディレクトリ

## 圧縮してアーカイブ
$ tar cvzf tgzファイル名 圧縮対象ディレクトリ

## 展開
$ tar xvf tarファイル名

## 解凍して展開
$ tar xvzf tgzファイル名

## 特定のファイルのみ解凍して展開
$ tar xvzf tgzファイル名 ファイルパス

## アーカイブされているファイルの一覧
$ tar tf tarファイル名

## 圧縮してアーカイブされているファイルの一覧
$ tar tzf tgzファイル名

実行してみた

vagrant@localhost
# sbt
[warn] No sbt.version set in project/build.properties, base directory: /home/vagrant/scala
[info] Set current project to scala (in build file:/home/vagrant/scala/)
[info] sbt server started at local:///home/vagrant/.sbt/1.0/server/a2cfb8549037a8ff30e7/sock
sbt:scala> run
[info] Updating ...
[info] Done updating.
[info] Compiling 1 Scala source to /home/vagrant/scala/target/scala-2.12/classes ...
[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.7. Compiling...
[info]   Compilation completed in 17.128s.
[info] Done compiling.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil (file:/home/vagrant/.sbt/boot/scala-2.12.7/org.scala-sbt/sbt/1.2.7/protobuf-java-3.3.1.jar) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of com.google.protobuf.UnsafeUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[info] Packaging /home/vagrant/scala/target/scala-2.12/scala_2.12-0.1.0-SNAPSHOT.jar ...
[info] Done packaging.
[info] Running Hello
Hello, World!
[success] Total time: 25 s, completed 2018/12/30 16:59:35
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0