Skip to main content
Known Participant
May 29, 2008
Question

.jar file is empty

  • May 29, 2008
  • 3 replies
  • 910 views
I opened my RHv6 project in RHv7. I compiled using WebHelp (Primary Layout). I can open the WebHelp that is generated in the !SSL!/Help folder. It looks fine. Development says...

"The issue here is that the jar file cannot be opened and that needs to happen when we do a build. We are assuming the jar file is corrupted but perhaps it is a security setting or something like that in Robohelp?"

I deleted the project-level cab file and regenerated the WebHelp. The .jar file is about half the size, but when I open it using IZArc, there is nothing inside. I opened my RH v6 .jar and it has contents.

I can't find anything about this in the forum. Of course, I'm about to go to a tropical island, so I'm under the gun to get it fixed.

Is this a corrupted file or is there a RH v7 setting I'm not aware of?
This topic has been closed for replies.

3 replies

Known Participant
May 29, 2008
My Dev team said the .jar isn't needed. They deleted it and tested WebHelp in the QA environment. All is fine. Case closed unless Adobe wants to do something about the generation of an empty .jar file just because it caused some confusion.

Thanks all! I can take my vacation in peace.
RoboColum_n_
Legend
May 29, 2008
Hi Kate.

Your confused! If you produce webhelp you will not get any java help files created. A .jar file is just a way of combining the delivery of multiple files (e.g. java classes or metadata files). Are you performing another step after you've generated the help to produce the .jar file?
RoboWizard
Inspiring
May 29, 2008
Hi Kate and Colum

Colum, I'm wondering if Kate has checked the following.

Kate, when you generate your WebHelp output, you have a choice in how the Navigation pane is handled. The options are:
Navigation Pane Preferred Format

Java Applet:
DHTML > Java Applet > Pure HTML

Java Applet > Pure HTML

No Java Applet:

DHTML > Pure HTML

Pure HTML

I'm wondering here if you are seeing differences in output based on different choices here. The Java Applet format does cause a jar file to be created.

You may also wish to try the different speed optimization settings. Perhaps that is a factor as well.

To see this setting, edit the properties of your Single Source Layout.

Cheers... Rick
Known Participant
May 29, 2008
I was using what the RoboHelp Help calls the "Navigation Pane Perferred Format: which is Dynamic HTML > Java Applet > Pure HTML.

I switched to DHTML > Pure HTML.

The Optimization Speed is Web Site (Internet) because the target application is Web-based.

On the final dialog box, I selected to Republish All.

I get the pesky 201KB webhelp.jar, which is still empty. The webhelp.cab file is now a zip file of 136KB.

I deleted both the nasty girls and tried again. They are regenerated. This doesn't make sense since I selected DHTML > Pure HTML.

I will query my Development contact as to why he thinks these need to open. This is my first delivery of RHv7. Is there anything they need to do differently on their end?



Known Participant
May 29, 2008
Since the .jar is like a Java zip file, I updated my Java from version 1.6.0_05-xxx to 1.6.0_06-B02. When I generated WebHelp, no .jar file was generated (there are .js files). A .cab file was generated, but, when I took a peek with IZArc, the .cab file was empty.

I sent this latest WebHelp generation to our Development group. Our target application is .NET C# not Java.

Confuzed...