# Many java libraries ignored during exporting for macOS

**URL:** <https://discourse.processing.org/t/many-java-libraries-ignored-during-exporting-for-macos/35619>\
**Category:** Development\
**Created:** [March 8, 2022, 5:57pm UTC](https://discourse.processing.org/t/many-java-libraries-ignored-during-exporting-for-macos/35619 "2022-03-08T17:57:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dattasaurabh82](https://avatars.discourse-cdn.com/v4/letter/d/ba9def/32.png) [@dattasaurabh82](https://discourse.processing.org/u/dattasaurabh82)\
**Post date:** [March 8, 2022, 5:57pm UTC](https://discourse.processing.org/t/many-java-libraries-ignored-during-exporting-for-macos/35619/1 "2022-03-08T17:57:57Z")

</div>

Hello community.  
So I’ve a sketch where I plan to use few native libraries like:

```auto
import java.io.*;
import java.util.*;

import java.net.Inet4Address;
import java.net.UnknownHostException;

import java.awt.Dimension;
import javax.swing.UIManager;
import javax.swing.JOptionPane;

```

The sketch works fine when running from the IDE.  
But after exporting to multiple platforms, the app dirs for **windows** and **linux** platforms have the `lib` dir in them while the app dir for **mac** doesn’t include the `lib` dir.  
Also while compiling it gives the error as follows (specific to macOS as platform I believe):

```auto
javafx.base.jar is mentioned in export.txt, but it's a big fat lie and does not exist.
javafx.controls.jar is mentioned in export.txt, but it's a big fat lie and does not exist.
javafx.fxml.jar is mentioned in export.txt, but it's a big fat lie and does not exist.
javafx.graphics.jar is mentioned in export.txt, but it's a big fat lie and does not exist.
javafx.media.jar is mentioned in export.txt, but it's a big fat lie and does not exist.
javafx.swing.jar is mentioned in export.txt, but it's a big fat lie and does not exist.

```

I tried to look up and in summary it seems the underlying compilation command needs some extra arguments to specify lib dirs (or something like that).

Is this something that is in the pipeline to be fixed?  
What’s the temporary solution for macOS?
