Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

native java Installer

0 views
Skip to first unread message

chaz

unread,
Jan 29, 2002, 10:21:33 PM1/29/02
to
I'm doing some research on who is using what to install their java
applications on different platforms.
I know that Installshield and a few other companies have products that claim
to do everything including
wipe the dust off your monitor, but I also know that some of these companies
can stretch the truth a little.

Plain and simple, what do you use and why do you like it?


thanks


Jon Skeet

unread,
Jan 30, 2002, 3:42:46 AM1/30/02
to

We use InstallAnywhere (www.zerog.com) at work. It's pretty good,
although we do lots of non-Java stuff which I've had to write routines
for. (Fortunately they plug in fairly easily.)

It entirely depends on your app though - do you actually need anything
more than an executable jar file? How about webstart? Both of these are
simple (and free) solutions for simple problems, although obviously when
you need to do more installation, you probably need more of a solution.

--
Jon Skeet - <sk...@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too

Brian

unread,
Feb 2, 2002, 8:24:38 PM2/2/02
to
Has anyone run into problems with InstallAnywhere NOW?

I created my jar application. It runs fine with "java -jar myapp.jar",
but InstallAnywhere doesn't seem to like me.

I get:
java.lang.IllegalAccessException

at java.lang.reflect.Method.invoke(Native Method)

at com.zerog.lax.LAX.launch(Unknown Source)

at com.zerog.lax.LAX.main(Unknown Source)


So I created a simple Hello World program. Just one class file. I
tried to create an installer for that, and it gave me the same error!

I'm running Windows XP. I say this because I've had some problems with
XP in the past and any problem I have now I'm paranoid that it's XP
:).

Thanks for any help.

Jon Skeet <sk...@pobox.com> wrote in message news:<MPG.16c1c263d...@dnews.peramon.com>...

Jon Skeet

unread,
Feb 3, 2002, 4:46:45 AM2/3/02
to
Brian <luc...@mediaone.net> wrote:
> Has anyone run into problems with InstallAnywhere NOW?
>
> I created my jar application. It runs fine with "java -jar myapp.jar",
> but InstallAnywhere doesn't seem to like me.
>
> I get:
> java.lang.IllegalAccessException
>
> at java.lang.reflect.Method.invoke(Native Method)
>
> at com.zerog.lax.LAX.launch(Unknown Source)
>
> at com.zerog.lax.LAX.main(Unknown Source)
>
>
> So I created a simple Hello World program. Just one class file. I
> tried to create an installer for that, and it gave me the same error!

Check that your main method is public and that it's in a public class.
If that doesn't help, post your code.

Brian

unread,
Feb 3, 2002, 10:32:55 PM2/3/02
to
Arg! What a blunder on my part. I did not explicitly declare my main class public!

That fixed it! Thanks!

Jon Skeet <sk...@pobox.com> wrote in message news:<MPG.16c7175de...@dnews.peramon.com>...

Roedy Green

unread,
Feb 4, 2002, 12:41:25 AM2/4/02
to
On 3 Feb 2002 19:32:55 -0800, luc...@mediaone.net (Brian) wrote or
quoted :

>Arg! What a blunder on my part. I did not explicitly declare my main class public!

Early versions of Java did not detect that. Java 1.4 now complains
properly if your main method is not public.

--
eagerly seeking telecommuting programming work.
canadian mind products, roedy green
the java glossary is at
http://www.mindprod.com/gloss.html
or http://209.139.205.39

0 new messages