polargraphcontroller icon indicating copy to clipboard operation
polargraphcontroller copied to clipboard

Exported application doesn't run (Windows 10) / Load Vector doesn't work

Open FrancisDOSSANTOS opened this issue 4 years ago • 5 comments

Hello,

I am trying to use Polargraphcontroller but I have some issues. My OS is windows 10 v19041.388 I installed the latest version of Java 8 I use Processing 2.2.1.

When I try to execute polargraphcontroller.exe , the file default.properties.txt is created but the application doesn't execute. I tried the 32 bits and the 64 bits versions. I tried to execute it as an administrator.

If I open the project in Processing and execute it, it runs. But when I click the button Load Vector I have a crash. I have the following message : Could not run the sketch (Target VM failed to initialize). For more information, read revisions.txt and Help ? Troubleshooting.

Here is the log: hs_err_pid1972.log

What is strange is that it reports a Windows 8 OS but I am running windows 10. The crash is at this line: JFileChooser fc = new JFileChooser(); in the function void loadVectorWithFileChooser()

Thanks for your help

FrancisDOSSANTOS avatar Aug 12 '20 23:08 FrancisDOSSANTOS

Hi! I have this same problem. My OS is Windows 10, v. 1909

java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
Java HotSpot(TM) Client VM (build 25.261-b12, mixed mode, sharing)

3835 avatar Aug 21 '20 12:08 3835

Are these two separate issues @FrancisDOSSANTOS?

  1. Exported app won't run
  2. "Load vector" doesn't work

@3835 do both of these issues affect you too?

euphy avatar Aug 21 '20 17:08 euphy

Sorry for inaccuracy. In my case it does not start polargraphcontroller.exe. When I run through processing, the application starts, only the interface (window) behaves strangely. I haven't tried to print yet, so I don't know if communication with the hardware is ok.

3835 avatar Aug 21 '20 20:08 3835

Ok, I have the same second error

Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help ? Troubleshooting.

3835 avatar Aug 21 '20 21:08 3835

So 1) exported app I can't replicate but I don't really expect that to work either. I've had the problem in the past, and I've honestly no idea how I fixed it. It works fine for me when I choose to "embed java" during the export. If I don't embed, then it won't even export the app! Just gives me a screed of red errors and a blank look. 2) The JFileLoader issue. I can't replicate this at home. I think you're referring to https://github.com/euphy/polargraphcontroller/blob/master/FileLoading.pde#L85. I'm going to guess that "load image" causes the same exception?

euphy avatar Aug 21 '20 22:08 euphy