Skip to main content

Primary links

  • Home
  • AI
  • Kubernetes
  • Incus
  • Ansible
  • Terraform
  • OpenStack
  • Virtualization
  • Linux
  • SmartHome
  • HowTo

Misc

  • Linux
  • Hardware
  • Programming
    • Graphic
    • HTML / PHP / CMS
    • Java
      • Currency converter
      • HqEclipse
      • JComboBox autocompletion
      • MS SQL Server JDBC Driver
      • MySQL
      • NetBeans
      • SmartGWT
      • exampels
    • PL / SQL
    • Magento
    • python
    • Asterisk
    • C / C++
    • JavaScript
    • Json
    • Magento
    • OpenOffice / LibreOffice
    • Perl
    • Postfix
    • Regular Expression
    • TLA
    • Tomcat
    • Zenity
    • bash
    • find
    • git
    • ofbiz
    • wildfly
    • xml
  • Databases
  • Multimedia
  • Windows

Cloud

  • OpenStack
  • cloud-config
  • nextcloud

Virtualization

  • Virtualization
  • Incus
  • Docker
  • KVM
  • Kubernetes
  • LXC
  • LXD
  • QEMU
  • VMware
  • VirtualBox
  • multipass
  • podman
  • vagrant
  • XEN

Network

  • DNS
  • Firewall
  • Linux
  • OpenvSwitch
  • SSL
  • VLAN
  • VPN
  • iPXE
  • namespaces
  • nmcli
  • tcpdump

Storage

  • CEPH
  • DRBD
  • LVM
  • S3
  • ZFS
  • btrfs

Automation / CI/CD

  • Install
  • Ansible
  • GitLab
  • LLM
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

  • Grafana
  • Icinga
  • Prometheus
  • Monitoring
  • ELK
  • mermaid
  • programming
  • java

[embed_url: https://raw.githubusercontent.com/panticz/installit/master/install.java-jre.sh]

Configure default java version

# lista available versiions
ll /usr/lib/jvm/default-java/
update-java-alternatives -l
update-alternatives --config java

javaws

https://www.java.com/en/download/linux_manual.jsp
tar xf Downloads/jre-8u421-linux-x64.tar.gz -C /tmp/

/tmp/jre1.8.0_421/bin/ControlPanel

/tmp/jre1.8.0_421/bin/javaws Downloads/jviewer.jnlp

Using the Java Persistence API in Desktop Applications
http://java.sun.com/developer/technicalArticles/J2SE/Desktop/persistenceapi/

Building a Java Desktop Database Application
http://www.netbeans.org/kb/60/java/gui-db.html

NetBeans
http://www.netbeans.org/community/releases/
http://www.netbeans.org/community/releases/roadmap.html
http://www.netbeans.org/download/flash/netbeans_6_gui_builder/netbeans_6_gui_builder.html

Database Gui
http://www.netbeans.org/kb/docs/java/gui-db-custom.html - Creating a Custom Java Desktop Database Application
http://www.netbeans.org/kb/docs/web/jsf-jpa-crud-code2.html - http://www.netbeans.org/kb/docs/web/jsf-jpa-crud-code2.html

Configure Glashfish (old)
copy c:\temp\ojdbc14.jar c:\Programme\glassfish-v2-b53\lib

Code Examples
http://exampledepot.com/

Stored procedures
http://www.ibm.com/developerworks/data/library/techarticle/dm-1209storedprocedures/
http://archive.oreilly.com/pub/a/onjava/2003/08/13/stored_procedures.html?page=2

Send Email from Java
http://www.rgagnon.com/javadetails/java-0538.html

Librarys
http://code.google.com/p/gchartjava/ - gchartjava is a free Java charts & graphs library
http://code.google.com/p/google-api-translate-java/ - simple, unofficial, Java client API for using Google Translate

PDF create with iText
http://itextpdf.com/download.php
http://sourceforge.net/projects/itext/files/latest/download - Download

Java packages in Ubuntu
sun-java6-bin - Java binaries
sun-java6-demo - demos and examples
sun-java6-doc - documentation
sun-java6-fonts - Lucida TrueType fonts from the JRE
sun-java6-jdk - metapackage for the JDK
sun-java6-jre - metapackage for the JRE
sun-java6-plugin - plug-in for Mozilla-based browsers
sun-java6-source - source files for the JDK

install original sun java 6 (/usr/lib/java-6-sun)
apt-get install sun-java6-jdk
sudo update-java-alternatives -s java-6-sun

RMI
http://www.comp.hkbu.edu.hk/~jng/comp3320/rmi.html

increase heap size (memory)
java -Xms128m -Xmx256m

# java -X
    -Xmixed           mixed mode execution (default)
    -Xint             interpreted mode execution only
    -Xbootclasspath:
                      set search path for bootstrap classes and resources
    -Xbootclasspath/a:
                      append to end of bootstrap class path
    -Xbootclasspath/p:
                      prepend in front of bootstrap class path
    -Xdiag            show additional diagnostic messages
    -Xnoclassgc       disable class garbage collection
    -Xincgc           enable incremental garbage collection
    -Xloggc:    log GC status to a file with time stamps
    -Xbatch           disable background compilation
    -Xms        set initial Java heap size
    -Xmx        set maximum Java heap size
    -Xss        set java thread stack size
    -Xprof            output cpu profiling data
    -Xfuture          enable strictest checks, anticipating future default
    -Xrs              reduce use of OS signals by Java/VM (see documentation)
    -Xcheck:jni       perform additional checks for JNI functions
    -Xshare:off       do not attempt to use shared class data
    -Xshare:auto      use shared class data if possible (default)
    -Xshare:on        require using shared class data, otherwise fail.
    -XshowSettings    show all settings and continue
    -XshowSettings:all
                      show all settings and continue
    -XshowSettings:vm show all vm related settings and continue
    -XshowSettings:properties
                      show all property settings and continue
    -XshowSettings:locale
                      show all locale related settings and continue

The -X options are non-standard and subject to change without notice.
<code>

# set language
java -Duser.country=DE -Duser.language=de ...

<strong>Links</strong>
http://barcode4j.sourceforge.net/ - free barcodes generator library for Java
http://java.sun.com/j2se/javadoc/writingdoccomments/ - How to Write Doc Comments for the Javadoc Tool
http://openbook.galileocomputing.de/javainsel8/ - Java ist auch eine Insel (Galileo Computing)
http://wiki.ubuntuusers.de/Java
http://blogs.sun.com/watt/resource/jvm-options-list.html - JVM Options
http://mindprod.com/jgloss/font.html - Java Glossary

Profiles GitHub StackOverflow LinkedIn Xing
Contact Imprint
© panticz 2026

Cookie-Einstellungen

Diese Website nutzt eingebettete Inhalte von Drittanbietern (z.B. YouTube, SoundCloud). Beim Laden dieser Inhalte werden Daten an die jeweiligen Anbieter übermittelt. Datenverarbeitungserklärung