Tag Archives: PDF

How to open a PDF file in Java on Windows / Any Platform

In Java development, sometimes we need to open a PDF file with java code. So in this java tutorial and example, we will show you two ways to open a PDF file with Java. 1. rundll32 – Windows Platform Solution In Windows, you can use “rundll32” command to launch a PDF file, see example : package com.cimblo.jdbc; import… Read More »