• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Java

jarsigner: command not found

by admin

jarsigner adds a digital signature to the specified jarfile, or, if the -verify option is specified, it verifies the digital signature or signatures already attached to the JAR file. The specified signer is a case-insensitive nickname or alias for the entity whose signature is to be used. The specified signer name is used to look […]

Filed Under: Java, Linux

jlink: command not found

by admin

A new tool, called jlink was introduced in Java 9 that enables the creation of modular runtime images. These runtime images are nothing but a collection of a set of modules and their dependencies. A Java enhancement proposal, JEP 220, governs the structure of this runtime image. The JLink tool is designed to provide optional […]

Filed Under: Java, Linux

JavaFX ComboBox: Set a value to the combo box

by admin

A list is a little more complicated, but also a lot more fun to work with, because using JavaFX there is a lot you can do with a list. The class that needs to be instantiated to create a list object is named ComboBox . This class is just one of a bigger family of […]

Filed Under: Java

keytool error java.io.FileNotFoundException: (Access is denied)

by admin

keytool manages and manipulates a keystore, a repository for public and private keys and public key certificates. keytool defines various commands for generating keys, importing data into the keystore, and exporting and displaying keystore data. Keys and certificates are stored in a keystore using a case-insensitive name or alias. keytool uses this alias to refer […]

Filed Under: Java

Java Date and Time

by admin

Java provides the Date class available in java.util package, this class encapsulates the current date and time. Date( ) – This constructor initializes the object with the current date and time. Date(long millisec) – This constructor accepts an argument that equals the number of milliseconds that have elapsed since midnight, January 1, 1970. Following are […]

Filed Under: Java

Java – Networking

by admin

Java Networking is a concept of connecting two or more computing devices together so that we can share resources. The java.net package of the J2SE APIs contains a collection of classes and interfaces that provide the low-level communication details. Java socket programming provides facility to share data between different computing devices. The java.net package provides […]

Filed Under: Java

Java – Documentation Comments

by admin

The Java language supports three types of comments: /* text */ – The compiler ignores everything from /* to */. //text – The compiler ignores everything from // to the end of the line. /** documentation */ – This is a documentation comment and in general its called doc comment. The JDK javadoc tool uses […]

Filed Under: Java

Java Applet Basics

by admin

An applet is a Java program that runs in a Web browser. An applet can be a fully functional Java application because it has the entire Java API at its disposal. The applet is a special type of program that is embedded in the webpage to generate dynamic content. It runs inside the browser and […]

Filed Under: Java

Java – Multithreading

by admin

Multithreading is a Java feature that allows concurrent execution of two or more parts of a program for maximum utilization of CPU. Each part of such a program is called a thread. Multitasking is when multiple processes share common processing resources such as a CPU. Each of the threads can run in parallel. The OS […]

Filed Under: Java

Java – Sending Email

by admin

To send an e-mail using your Java Application is simple enough but to start with you should have JavaMail API and Java Activation Framework (JAF) installed on your machine. Download and unzip these files, in the newly created top-level directories, you will find a number of jar files for both applications. You need to add […]

Filed Under: Java

Next Page »

Primary Sidebar

Recent Posts

  • ncat Command Examples in Linux
  • ncat: command not found
  • nautilus Command Examples in Linux
  • namei: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright