# Has PDF handling changed in 3.7.21?

**URL:** <https://forum.vassalengine.org/t/has-pdf-handling-changed-in-3-7-21/90106>\
**Category:** Technical Support & Bugs\
**Tags:** v3\_7\
**Created:** [May 2, 2026, 4:45pm UTC](https://forum.vassalengine.org/t/has-pdf-handling-changed-in-3-7-21/90106 "2026-05-02T16:45:17Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![mvanleeuwen102](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@mvanleeuwen102](https://forum.vassalengine.org/u/mvanleeuwen102)\
**Post date:** [May 2, 2026, 4:45pm UTC](https://forum.vassalengine.org/t/has-pdf-handling-changed-in-3-7-21/90106/1 "2026-05-02T16:45:17Z")

</div>

I’m using Windows 11 and I upgraded to Vassal 3.7.21 recently.

Now, when I open a PDF from the Help menu, the file opens up in a browser. (My default browser is Firefox if that matters.)

In 3.7.20 and earlier it was opening the file using Adobe Reader.

Is this the new expected behaviour or is this a bug?

BTW, Linux stills uses the PDF reader in 3.7.21.

---

<div class="post-metadata">

**Author:** ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)\
**Post date:** [May 2, 2026, 4:47pm UTC](https://forum.vassalengine.org/t/has-pdf-handling-changed-in-3-7-21/90106/2 "2026-05-02T16:47:51Z")

</div>

Nothing I know of changed between 3.7.20 and 3.7.21 that could cause what you’re seeing. I wonder if your default PDF reader in Windows changed.

---

<div class="post-metadata">

**Author:** ![mvanleeuwen102](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@mvanleeuwen102](https://forum.vassalengine.org/u/mvanleeuwen102)\
**Post date:** [May 2, 2026, 5:04pm UTC](https://forum.vassalengine.org/t/has-pdf-handling-changed-in-3-7-21/90106/3 "2026-05-02T17:04:19Z")

</div>

My default PDF reader is still Adobe. A friend suggested it has something to do with the upgraded Java.

---

<div class="post-metadata">

**Author:** ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)\
**Post date:** [May 2, 2026, 5:04pm UTC](https://forum.vassalengine.org/t/has-pdf-handling-changed-in-3-7-21/90106/4 "2026-05-02T17:04:50Z")

</div>

What happens if you try opening a PDF with 3.7.20 on Windows now?

---

<div class="post-metadata">

**Author:** ![mvanleeuwen102](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@mvanleeuwen102](https://forum.vassalengine.org/u/mvanleeuwen102)\
**Post date:** [May 2, 2026, 5:05pm UTC](https://forum.vassalengine.org/t/has-pdf-handling-changed-in-3-7-21/90106/5 "2026-05-02T17:05:26Z")

</div>

It opens in Adobe reader.

---

<div class="post-metadata">

**Author:** ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)\
**Post date:** [May 2, 2026, 5:11pm UTC](https://forum.vassalengine.org/t/has-pdf-handling-changed-in-3-7-21/90106/6 "2026-05-02T17:11:02Z")

</div>

I’m surprised that PDFs ever opened in something other than your browser.

The relevant code is [here](https://github.com/vassalengine/vassal/blob/master/vassal-app/src/main/java/VASSAL/tools/BrowserSupport.java).

---

<div class="post-metadata">

**Author:** ![mvanleeuwen102](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@mvanleeuwen102](https://forum.vassalengine.org/u/mvanleeuwen102)\
**Post date:** [May 2, 2026, 5:17pm UTC](https://forum.vassalengine.org/t/has-pdf-handling-changed-in-3-7-21/90106/7 "2026-05-02T17:17:49Z")

</div>

What can I say? Until 3.7.21, PDFs always opened up in Adobe Reader; my default Windows app for PDFs.

---

<div class="post-metadata">

**Author:** ![mvanleeuwen102](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@mvanleeuwen102](https://forum.vassalengine.org/u/mvanleeuwen102)\
**Post date:** [May 2, 2026, 5:24pm UTC](https://forum.vassalengine.org/t/has-pdf-handling-changed-in-3-7-21/90106/8 "2026-05-02T17:24:50Z")

</div>

So I conducted a test. Replaced the Java jre directory in 3.7.21 with the Java from 3.7.20, and 3.7.21 opens PDFs in Adobe Reader again. So it appears to be something to do with Java and not (necessarily) Vassal code.

---

<div class="post-metadata">

**Author:** ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)\
**Post date:** [May 2, 2026, 5:33pm UTC](https://forum.vassalengine.org/t/has-pdf-handling-changed-in-3-7-21/90106/9 "2026-05-02T17:33:40Z")

</div>

Which Windows build are you using?

My guess is that you’re using a 64-bit x86 machine, in which case the bundled Java went from 25+36 to 25.0.2+10 between 3.7.20 and 3.7.21.

There might be something in the Java release notes that hint at what changed.

---

<div class="post-metadata">

**Author:** ![mvanleeuwen102](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@mvanleeuwen102](https://forum.vassalengine.org/u/mvanleeuwen102)\
**Post date:** [May 2, 2026, 5:38pm UTC](https://forum.vassalengine.org/t/has-pdf-handling-changed-in-3-7-21/90106/10 "2026-05-02T17:38:52Z")

</div>

Windows 11 Home, vers 25H2, build 26200.8246

x64-based processor

---

<div class="post-metadata">

**Author:** ![cholmcc](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/cholmcc/32/8319_2.png) [@cholmcc](https://forum.vassalengine.org/u/cholmcc)\
**Post date:** [May 3, 2026, 7:08am UTC](https://forum.vassalengine.org/t/has-pdf-handling-changed-in-3-7-21/90106/11 "2026-05-03T07:08:19Z")

</div>

The relevant code calls [`java.awt.Desktop#browse`](https://docs.oracle.com/javase/8/docs/api/java/awt/Desktop.html#browse-java.net.URI-) _or_ executes - on Windows - `start` - both with an argument of the URI of the PDF to open. Exactly what the URI looks like depends a little on what you are looking at - an embedded PDF or a filesystem PDF.

> [@uckelman](#):
>
> I’m surprised that PDFs ever opened in something other than your browser.

Actually, the docs of the above method says

> Launches the default browser to display a `URI` . If the default browser is not able to handle the specified `URI` , the application registered for handling `URIs` of the specified type is invoked.

so it _should_ work. The relevant OpenJDK code is [here](https://github.com/openjdk/jdk/blame/master/src/java.desktop/windows/classes/sun/awt/windows/WDesktopPeer.java), and the latest commit relevant is [here](https://github.com/openjdk/jdk/commit/eddbd359654cf6e2a437367461231ba37ee76918) which was from the 19th of January, 2026 - and could be part of the 26 release of OpenJDK.

The `browse` handling went from something simple as `open <url>` to a getting the default browser and then opening the URL in that. Arguably that is a regression, and a bug report seems in order.

@mvanleeuwen102 Perhaps you can locate some PDF on your machine - say `C:\Users\you\Desktop\MyTest.pdf` and verify that running

```auto
C:\> start C:\Users\you\Desktop\MyTest.pdf

```

in the `cmd` prompt does indeed open the PDF in Acrobat reader.

Then, next, open your default Web-browser, and type into the location field

```auto
file:C:\Users\you\Desktop\MyTest.pdf

```

and see if it opens the PDF in the browser or Acrobat Reader.

Yours,  
_Christian_

---

<div class="post-metadata">

**Author:** ![mvanleeuwen102](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@mvanleeuwen102](https://forum.vassalengine.org/u/mvanleeuwen102)\
**Post date:** [May 3, 2026, 4:46pm UTC](https://forum.vassalengine.org/t/has-pdf-handling-changed-in-3-7-21/90106/12 "2026-05-03T16:46:51Z")

</div>

Christian,

Here are the test results:

1. from cmd prompt

result: File opens in Adobe Reader

1. open file with browser (default browser is Firefox)

result: File opens in Firefox

Note that I tried changing the setting for “Action for PDFs” in Firefox under Settings-\>General-\>Applications. These settings are apparently for downloaded files only but I wanted to see if it would have any effect on the above test. I went from “Open in Firefox” to “Use Windows default application”; under both settings the file opened in Firefox.

Mike

---

<div class="post-metadata">

**Author:** ![cholmcc](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/cholmcc/32/8319_2.png) [@cholmcc](https://forum.vassalengine.org/u/cholmcc)\
**Post date:** [May 3, 2026, 5:16pm UTC](https://forum.vassalengine.org/t/has-pdf-handling-changed-in-3-7-21/90106/13 "2026-05-03T17:16:24Z")

</div>

Thank you for the tests. Your result indicates that `java.awt.Desktop#browse` is indeed called (not the other code in Vassal in case there’s no `Desktop` support). So the issue seems to be in how Java has changed it’s handling of that message. Probably not much to do about it, save to complain to the OpenJDK people - which can be a bit tedious.

Yours,  
_Christian_

---

<div class="post-metadata">

**Author:** ![wifferboy](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/w/a183cd/32.png) [@wifferboy](https://forum.vassalengine.org/u/wifferboy)\
**Post date:** [May 8, 2026, 2:44am UTC](https://forum.vassalengine.org/t/has-pdf-handling-changed-in-3-7-21/90106/14 "2026-05-08T02:44:25Z")

</div>

Recently Firefox updated and now all PDFs on my Win 11 machine are opening in Firefox. Just sayin’…
