Posts

Showing posts with the label Java

Running Metabase from the JAR File

Image
Terminal — start Metabase $ java -jar metabase.jar INFO metabase.core Starting Metabase ... INFO metabase.core Metabase Initialization COMPLETE Serving on http://localhost:3000 Metabase is an open-source business intelligence tool, and the quickest way to run it on your own machine is the self-contained JAR. No installer, no Docker, just Java and a single file. This tutorial covers downloading the JAR, running it, and the common issues you may hit on the first launch. Step 1: Install Java The Metabase JAR needs a Java runtime. A current build requires Java 21 or higher (older Metabase versions ran on Java 8 or 11). It works with both OpenJDK and Oracle JDK. Check what you have: java -version If Java is missing or too old, install a JDK. On macOS with Homebrew: brew install openjdk@21 On Debian or Ubuntu, sudo apt install openjdk-21-jre works. Always confirm the required version on the official download page, since it changes between Metabase releases. Step 2: Download the JAR...

error: package javax.xml.bind does not exist

Image
Try these fixes if you run into issues with javax.xml.bind, which was deprecated and later removed from Java. ---------------------------------------------------------------------- Solution 1 => Switch to Java 8 Please install the latest JDK 8 from oracle for your OS - https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html . If you have the latest Java (version 11/14) installed, you need to also install JDK 8 and use it to run the java code. Switch to JDK 8 on Linux / macOS: - Check current java version % java --version , if it is JDK 11/14 then install JDK 8 - Check all JDK versions installed % /usr/libexec/java_home -V - Edit bash profile % nano ~/.bash_profile export JAVA_HOME_8=$(/usr/libexec/java_home -v1.8) export JAVA_HOME_11=$(/usr/libexec/java_home -v11) export JAVA_HOME_14=$(/usr/libexec/java_home -v14)

Java Standard Edition 9 Features And Download Links

Image
Java Development Kit (JDK) 9 Download Link: http://www.oracle.com/technetwork/java/javase/downloads/jdk9-downloads-3848520.html Java SE 9 At JavaOne 2011, Oracle discussed features they hoped to release for Java 9 in 2016. Java 9 should include better support for multi-gigabyte heaps, better native code integration, a different default garbage collector (G1, for "shorter response times") and a self-tuning JVM. In early 2016, the release of Java 9 was rescheduled for March 2017, later again postponed four more months to July 2017, and changed again to be finally available on September 21, 2017, due to controversial acceptance of the current implementation of Project Jigsaw by Java Executive Committee, which led Oracle to fix some open issues and concerns, and to refine some critical technical questions. Source: https://en.wikipedia.org/wiki/Java_version_history End of Public Updates for Oracle JDK 8 Oracle will not post further updates of Java S...

Getting up and running with Jenkins 2.60.3 on Windows [How to solve Error: no workspace]

Image
Jenkins: The leading open source automation server, Jenkins provides hundreds of plugins to support building, deploying and automating any project. Jenkins is a Continuous Integration server. Basically Continuous Integration is the practice of running your tests on a non-developer machine automatically every-time someone pushes new code into the source repository. Prerequisites: Java Development Kit (JDK) Java Run-time Environment (JRE) To install JDK go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html To install JRE go to http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html

Active Directory login in GitBlit

Image
What is Git? Git is a version control system that is used for software development and other version control tasks. As a distributed revision control system it is aimed at speed, data integrity, and support for distributed, non-linear workflows. Git was created by Linus Torvalds in 2005 for the development of the Linux kernel, with other kernel developers contributing to its initial development. Read more about Git: https://en.wikipedia.org/wiki/Git_(software) What is GitBlit? Gitblit is an open-source, pure Java stack for managing, viewing, and serving Git repositories. It's designed primarily as a tool for small workgroups who want to host centralized repositories. Read more about GitBlit: http://gitblit.com/

375 Mime Types for Microsoft IIS (C#)

Image
File Extension Mime Type .323 text/h323 .3g2 video/3gpp2 .3gp2 video/3gpp2 .3gp video/3gpp .3gpp video/3gpp .aac audio/aac .aaf application/octet-stream .aca application/octet-stream .accdb application/msaccess .accde application/msaccess .accdt application/msaccess .acx application/internet-property-stream .adt audio/vnd.dlna.adts .adts audio/vnd.dlna.adts .afm application/octet-stream .ai application/postscript .aif audio/x-aiff .aifc audio/aiff .aiff audio/aiff .appcache text/cache-manifest .application application/x-ms-application .art image/x-jg .asd application/octet-stream .asf video/x-ms-asf .asi application/octet-stream .asm text/plain .asr video/x-ms-asf .asx video/x-ms-asf .atom application/atom+xml ...