Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
FrancisDOSSANTOS opened this issue Aug 12, 2020 · 5 comments

Comments

@FrancisDOSSANTOS
Copy link

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

@3835
Copy link

3835 commented Aug 21, 2020

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)

@euphy euphy changed the title Execution problems Exported application doesn't run (Windows 10) Aug 21, 2020
@euphy euphy changed the title Exported application doesn't run (Windows 10) Exported application doesn't run (Windows 10) / Load Vector doesn't work Aug 21, 2020
@euphy
Copy link
Owner

euphy commented Aug 21, 2020

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?

@3835
Copy link

3835 commented Aug 21, 2020

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
Copy link

3835 commented Aug 21, 2020

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.

@euphy
Copy link
Owner

euphy commented Aug 21, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants