Jump to content
Sign in to follow this  
Hatut Zeraze

Coercing Windows 10 into Using Java for .jar

Recommended Posts

One day I will actually see what HERO Designer looks like....

 

I can't get my HD6.jar file to open with anything but Adobe Acrobat.  It won't give me options outside the Microsoft App Store and of course Java won't be there.  I have attempted to hit a YouTube tutorial on opening .jar files with Java in Windows 10 and every step looks like I will have to educate myself about elements of programming that I have never had to use.

 

I will do so, I suppose, but if anyone knows some kind of user-friendly way to manage this, I would much appreciate the help.

 

 

EDIT:  Apparently "Jarfix" was the magic bullet I needed.  I believe it is already fixed.

Share this post


Link to post
Share on other sites

I have this batch file in the same folder as HD6.jar:

 

javaw -Xmx1024m -cp .\HD6.jar com.hero.HeroDesigner 14

 

The parameter at the end tells HD to use 14 point font as the default, which I definitely need.  It also allocates a gigabyte of memory;  I have a 16 GB system so that's fine.  It doesn't need that much;  you could change 1024 to 256 readily enough.

Share this post


Link to post
Share on other sites
On 4/7/2020 at 6:59 PM, unclevlad said:

I have this batch file in the same folder as HD6.jar:

 

javaw -Xmx1024m -cp .\HD6.jar com.hero.HeroDesigner 14

 

The parameter at the end tells HD to use 14 point font as the default, which I definitely need.  It also allocates a gigabyte of memory;  I have a 16 GB system so that's fine.  It doesn't need that much;  you could change 1024 to 256 readily enough.

Though with the current versions of Hero Designer you don't have to allocate ram using a batchfile. The program has a setting for more ram, and saves it in the preferences file

 

Share this post


Link to post
Share on other sites
10 hours ago, Tasha said:

Though with the current versions of Hero Designer you don't have to allocate ram using a batchfile. The program has a setting for more ram, and saves it in the preferences file

 

 

Habit.  Used to run a LOT of Java code and specifying the memory was essential.  Ran a whole bunch of memory hogs...as in, 4-6 gig.  Once you're setting up the batch file anyway, too, you don't have to think about the preferences.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...