Instalar Java en Ubuntu con Apt-Get
Muchos artículos y programas requieren ternet Java instalado, este artículo te guiarå lo suficiente para instalar y manejar las diferentes versiones de Java.
Muchos artículos y programas requieren ternet Java instalado, este artículo te guiarå lo suficiente para instalar y manejar las diferentes versiones de Java.
URL: https://www.progressiverobot.com/java-15-features/ Keeping up with the six-month cycle tradition, after the release of [Java 14](/community/tutorials/java-14-features#5-text-blocks-preview) on March 17, 2020, we now have Java 15, the next non-LTS version rolling out on September 15, 2020. Java 15 Features Here's a quick look at features that are a part of Java 15: Sealed Classes (Preview) – JEP […]
URL: https://www.progressiverobot.com/java-callable-future-example/ Java Callable and Future are used a lot in multithreaded programming. In last few posts, we learned a lot about [java threads](/community/tutorials/multithreading-in-java "Java Thread Tutorial") but sometimes we wish that a thread could return some value that we can use. Java 5 introduced java.util.concurrent.Callable interface in concurrency package that is similar to Runnable […]
URL: https://www.progressiverobot.com/java-dependency-injection-design-pattern-example-tutorial/ Java Dependency Injection design pattern allows us to remove the hard-coded dependencies and make our application loosely coupled, extendable and maintainable. We can implement dependency injection in java to move the dependency resolution from compile-time to runtime. Java Dependency Injection Java Dependency injection seems hard to grasp with theory, so I would take […]
URL: https://www.progressiverobot.com/java-heap-space-vs-stack-memory/ Sometime back I wrote a couple of posts about [Java Garbage Collection](/community/tutorials/java-jvm-memory-model-memory-management-in-java) and [Java is Pass by Value](/community/tutorials/java-is-pass-by-value-and-not-pass-by-reference "Java is Pass by Value and Not Pass by Reference"). After that I got a lot of emails to explain about Java Heap Space, Java Stack Memory, Memory Allocation in Java and what are the […]
URL: https://www.progressiverobot.com/java-listiterator/ As we know Java has four cursors: Enumeration, Iterator, ListIterator, and Spliterator. We have already discussed Enumeration and Iterator cursors in my previous post. Before going through this post, please go through my previous post at: [Java Iterator](/community/tutorials/java-iterator). In this post, we will discuss about third Java cursor: ListIterator. Java ListIterator Like Iterator, […]
URL: https://www.progressiverobot.com/java-reflection-example-tutorial/ Java Reflection provides ability to inspect and modify the runtime behavior of application. Reflection in Java is one of the advance topic of core java. Using java reflection we can inspect a class, [interface](/community/tutorials/interface-in-java "What is Interface in Java – Example Tutorial"), [enum](/community/tutorials/java-enum "Java Enum"), get their structure, methods and fields information at […]
URL: https://www.progressiverobot.com/java-string-array/ Java String array is used to hold fixed number of Strings. [String](/community/tutorials/java-string) [array](/community/tutorials/java-array) is very common in [simple java programs](/community/tutorials/simple-java-programs), specially among beginners to java and to test some specific scenarios. Even [java main method](/community/tutorials/public-static-void-main-string-args-java-main-method) argument is string array – public static void main(String[] args). So today we will look into different aspects […]
Множество других статей и программ требует установленной Java. В этой статье мы осветим процесс установки и управления различными версиями Java. Это рекомендуемый и наиболее простой вариант. В Ubuntu 12.04 и более ранних…
Earlier I wrote a program to connect to remote database on SSH server. Today I am presenting a program that can be used to connect to SSH enabled server and execute shell commands. I am using JSch to connect to remote ssh server from java program.