No package information for this port in our database Sometimes this happens. ONLY_FOR_ARCHS: i386 amd64 distinfo: There is no distinfo for this port. PKGNAME: linux-sun-jdk16 Flavors: there is no flavor information for this port. No installation instructions: This port has been deleted. WWW: SVNWeb : git : Homepage pkg-plist: as obtained via: make generate-plist There is no configure plist information for this port. Maintainer: Port Added: 20:16:37 Last Update: 13:25:26 SVN Revision: 353685 People watching this port, also watch:: firefox, bash Also Listed In: devel License: not specified in port Description: The Sun Java Development Kit 1.6 for Linux.
NO CDROM: License does not allow distribution with fee RESTRICTED: Redistribution of repackaged binaries not permitted IGNORE: You must manually fetch the J2SE SDK self-extracting file for the Linux platform (jdk-6u45-linux-i586.bin) from, place it in /usr/local/PORTS-head/distfiles and then run make again DEPRECATED: Unsupported and known for multiple security vulnerabilities Which java to see which executable you are calling.Įcho $PATH will allow you to check your path variable.Linux-sun-jdk16 Sun Java Development Kit 1.6 for Linuxġ.6.0.45 java =3 1.6.0.45 Version of this port present on the latest quarterly branch. The commands can help troubleshoot problems. If you don’t it is probably a type somewhere. Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode) Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Once done you should be able to type “java -version” and see Log out and back in to set the environment variables or alternatively you can: bash_profile (the “.” (dot) is important) and add the following: In your home directory, create or edit a file called. Next I created a symbolic link for convenience using sudo ln -s /opt/jdk1.6.0_18 /opt/java Once downloaded, set it executable, expand it and copy it to your desired directory.
Does anybody know how to solve this problem? And how to set the parallelly installed jvm to be the standard one? TIA. What is wrong with my current java installation (i have installed an parallel one, it worked like a charm). When i want to run a java prog any more sophisticated than hello world or similar, the jvm gives me the java -jar jdupdate.jarĮxception in thread “main” : jd.update.MainĪt (libgcj.so.90)Ĭaused by: . not found in Īt (libgcj.so.90)Īt .findClass(libgcj.so.90)Īt (libgcj.so.90) Java HotSpot(TM) Server VM (build 1.6.0_03-b05, mixed mode) Try HelloWorld.java – first java program Java(TM) SE Runtime Environment (build 1.6.0_03-b05) Type the following command to display version: Open your $HOME/.bash_profile or /etc/profile (system wide) configuration. You also need to setup JAVA_HOME and PATH variable. Make sure /usr/lib/jvm/java-6-sun is added to the top of JVM listĪt the end your file should read as follows: The default system JVM is the first one available from top to bottom. Each JVM should list their JAVA_HOME compatible directory in this file. This file defines the default system JVM search order. You also need to edit a file called /etc/jvm. $ sudo update-java-alternatives -s java-6-sun To select, Sun’s JVM as provided in Ubuntu 7.10, enter: Ubuntu Linux comes with update-java-alternatives utility to updates all alternatives belonging to one runtime or development kit for the Java language.
$ sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk Setup the default Java version Open a shell prompt (terminal) and type the following to install JDK and JRE:
Click on System > Administration > Software Source > Select Multisource > Close To install proprietary Java, you must have the Multiverse repository enabled. => sun-java6-jre : Sun Java Runtime Environment (JRE) 6 Install Sun Java 6 If your domain is not sending email, set these DNS settings to avoid spoofing and phishing.How to protect Linux against rogue USB devices using USBGuard.A podman tutorial for beginners – part I (run Linux containers without Docker and in daemonless mode).How to set up Mariadb Galera cluster on Ubuntu or Debian Linux.How To Set Up SSH Keys With YubiKey as two-factor authentication (U2F/FIDO2).How to set up Redis sentinel cluster on Ubuntu or Debian Linux.Join my Patreon to support independent content creators and start reading latest guides:.In-depth guides for developers and sysadmins at Opensourceflare✨.