What is the best Java installer??

Hi,
I know this is not exactly a programing question,but I am writing a small desktop application which I want to distribute on CD.
To make it look as professional as possible I would like to use an installer the install the applications on Windows PC's. The problem is I need an installer which can detect if the PC has the JRE installed and if not or it is an out dated version install a newer JRE and then install my application.
I cannot find an installer capable of doing this - except for installAnywhere which is way to expensive for me.
Can anyone recommend a good installer to solve this problem?
Thanks in advance!!!

The http://www.izforge.com/izpack looks great - the
problem is that it needs a JRE installed to run and
some machines wont have one pre-installed.I wouldn't use the users installed JRE even if one exists. Put the JRE you want to use in your application folders and have your application be completely self-contained. That's much more seemless than using an unknown JRE or installing one on the users machine or messing with their existing JRE setup. The user won't even have to know it running in Java.
There is no need for an 'installed' JRE.

Similar Messages

  • What's the best Java Editor?

    Right now I'm using JCreator. I've tried JBuilder, but it keeps crashing on my machine and it runs damn slow...
    Is there a better editor out there that shows your errors clearer and stuff?

    The fastest "IDE" is actually a good text editor like
    TextPad and your Java SDK. The learning curve is
    basically nil, the cost is incredibly low, and you
    have more learning opportunities. An IDE, however,
    makes GUI building faster if you can live with the
    limitations and excess code.Hi, I don't agree with you - using "only" a good texteditor for programing purpose is, in my opinion, the better way to Java - ok, you have to read a lot before you get in going, but I bet, when looking on 2 java newbies who invested 3 month in learning java, the one with the "editor only" will know more about java and building a GUI and his programs may be more compact . o O (*g* he had to type all this, so he begins to learn short coding earlier).
    With an IDE you will - as a newbie - come earlier to little programs that work, but you will need more time to do the real thing, because your understanding of the java background is less - who reads the automatic generated parts of the program as a newbie? - And, given a normal texteditor to both of them - the 2 guys in the paragraph above - who would be able to write a little java program faster?
    The learning curve isn't basically nil - if you really work on the topic of learning to write a java program, and not only arrange components on the screen and let the IDE work.
    greetings Marsian
    P.S.: I am German, my girl friend is English - she told me now, that she interprets your posting as postive to the editor only solution - hmm ... now I am confused - why do english talking persons don't say what they are meaning?

  • What's the best Java technology for web development?

    I'm very new to J2EE (only worked with J2SE before), and I'm interested in how it works. I understand that JSP pages are somewhat similar to PHP scripts, etc... My question is, what should I be learning about if I want to write a website using Java?
    Thanks.

    I'm very new to J2EE (only worked with J2SE before),
    and I'm interested in how it works.
    I understand that JSP pages are somewhat similar to PHP scripts,
    etc... I don't think that's true, but I'll admit to not being a PHP user.
    My question is, what should I be learning
    about if I want to write a website using Java?You'll have to know:
    servlet engine like Tomcat or a Java EE app server like JBOSS or WebLogic
    HTML (this isn't Java per se)
    JSP or Velocity or Freemarker (template technologies)
    JSTL
    servlets
    JavaScript (this isn't Java per se)
    Depending on what you want your web site to do, you'll have to know JDBC and SQL and relational databases if you have persistent data.
    There are a lot of frameworks available for web apps. Google for a list, but the ones you'll hear come up most often are Struts, WebWork, and Java Server Faces.
    Spring has a Web MVC framework and lots more. It would be worth a serious look.
    %

  • What's the best java book available?

    Anyone knows any good, detail java book available out there for
    beginer/intermediate level programmer? Greatly appreciated.

    hi,
    i would recommend Beginning Java 2 - SDK 1.4 Version, it's a good book for people starting off and moving to interm., the author covers the basics and more advanced topics later such as JDBC, working with XML and Java and Printing all in one book. Also half way through the book, once he starts talking about building GUI, he builds a small application, then for the next few chapters what ever is taught is also built into the app, the app he shows you how to build is something like ms paint. so he shows you not only how to write small programs but also building an application, i don't remember the size of it but i believe it was a few thousand lines long. he also builds a second app, smaller for working with databases later. the only problem is the size of the book and price, but if you have the time to read it, i'd recommend that one.

  • What is the best way to verify default heap size in Java

    Hi All,
    What is the best way to verify default heap size in Java ? does it vary over JVM to JVM . I was reading this article http://javarevisited.blogspot.sg/2011/05/java-heap-space-memory-size-jvm.html , and it says default size is 128 MB but When I run following code :
    public static void main(String args[]) {
    int MB = 1024*1024;
    System.out.println(Runtime.getRuntime().totalMemory()/MB);
    It print "870" i.e. 870 MB.
    I am bit confused, what is the best way to verify default heap size in any JVM ?
    Edited by: 938864 on Jun 5, 2012 11:16 PM

    938864 wrote:
    Hi Kayaman,
    Sorry but I don't agree with you on verification part, Why not I can verify it ? to me default means value when I don't specify -Xms and -Xmx and by the way I was testing that program on 32 bit JRE 1.6 on Windows. I am also curious significant difference between 128MB and 870MB I saw, do you see anything obviously wrong ?That spec is outdated. Since Java 6 update 18 (Sun/Oracle implementation) the default maximum heap space is calculated based on total memory availability, but never more than 1GB on 32 bits JVMs / client VMs. On a 64 bits server VM the default can go as high as 32gb.
    The best way to verify ANYTHING is to address multiple sources of information and especially those produced by the source, not some page you find on the big bad internet. Even wikipedia is a whole lot better than any random internet site IMO. That's common sense, I can't believe you put much thought into it that you have to ask in a forum.

  • What's the best XML for JAVA?

    Hi There,
    My big question is what should I use for develop a normal XML document, that can:
    - contain BASE64 strings
    - support UTF-8 add attributes, etc.
    I then want to pick this document and:
    - do it's parsing (walk trough)
    - apply a xsl to this document.
    I've made this in C using libxml2 for WIN32/HP-UX, and also in VB using msxml4, now I must make the same document in Java, I see a lot of alternatives but really don't know what to choose...
    In these languages I pick a structure that we support (similar to a tree) and serialize it to XML, send it as a string and then rebuild the initial structure with flaws. Each client can have a xsl file to show the information in the way he wants to.
    So, I ask your opinion what's the best for JAVA (a fast learning curve is preferable, but speed of processing is very, very important)?
    Thanks in advance for all the replies,
    Lu�s Pinho

    Have you looked at Apache's XML Beans?
    http://xml.apache.org/xmlbeans/

  • What is the best practise to provide a text file for a Java class in a OSGi bundle in CQ?

    This is probably a very basic question so please bear with me.
    What is the best way to provide a .txt file to be read by a Java class in a OSGi bundle in CQ 5.5?
    I have been able to read a file called "test.txt" that I put in a structure like this /src/resources/<any-sub-folder>/test.txt  from my java class  at /src/main/java/com/test/mytest/Test.java using the bundle's getResource and getEntry calls but I was not able to use the context.getDataFile. How is this getDataFile method call to be used?
    And what if I want to read the file located in another bundle, is it possible? or can I add the file to some repository and then access it - but I am not clear how to do this.
    And I would also like to know what is the best practise if I need to provide a large  data set in a flat file to be read by a Java class in CQ5.
    Please provide detailed steps or point me to a how to guide or other helpful resources as I am a novice.
    Thank you in advance for your time and help.
    VS

    As you can read in the OSGi Core specification (section 4.5.2), the getDataFile() method is to read/write a file in the bundle's private persistent area. It cannot be used to read files contained in the bundle. The issue Sham mentions refers to a version of Felix which is not used in CQ.
    The methods you mentioned (getResource and getEntry) are appropriate for reading files contained in a bundle.
    Reading a file from the repository is done using the JCR API. You can see a blueprint for how to do this by looking at the readFile method in http://svn.apache.org/repos/asf/jackrabbit/tags/2.4.0/jackrabbit-jcr-commons/src/main/java /org/apache/jackrabbit/commons/JcrUtils.java. Unfortunately, this method is not currently usable as it was declared incorrectly (should be a static method, but is an instance method).
    Regards,
    Justin

  • What are the BEST Books and Best websites for java biginners?

    Dear All,
    What are the BEST Books and Best websites for java biginners-Especially for fast learning.
    Thnaks
    KMK

    This is my standard reply:
    [Sun's basic Java tutorial|http://java.sun.com/docs/books/tutorial/]
    [Sun's New To Java Center|http://java.sun.com/learning/new2java/index.html]
    Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    jGuru
    A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch
    To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    [Yawmarks List|http://forums.devshed.com/java-help-9/resources-for-learning-java-249225.html]
    [The Java Developers Almanac|http://www.amazon.com/exec/obidos/tg/detail/-/0201752808?v=glance]
    [http://javaalmanac.com|http://javaalmanac.com]
    Bruce Eckel's [Thinking in Java(Available online.)|http://mindview.net/Books/DownloadSites]
    Joshua Bloch's [Effective Java|http://www.amazon.co.uk/exec/obidos/Author=Bloch,%20Josh]
    Bert Bates and Kathy Sierra's [Head First Java|http://www.amazon.com/exec/obidos/tg/detail/-/0596004656?v=glance ]
    James Gosling's [The Java Programming Language|http://www.bookpool.com/sm/0321349806]
    Gosling is the creator of Java. It doesn't get much more authoritative than this.
    Joshua Bloch and Neal Gafter [Java Puzzlers.|http://www.javapuzzlers.com/]

  • What is the BEST practice - use BO or Java Object in process as webservice

    Hi All,
    I have my BP published as web service. I have defined My process input & output as BOs. My BP talks to DB through DAO layer(written in JAVA) which has Java objects. So I have BO as well as java Objects. Since I am collecting user input in BO, I have to assign individual values contained in BO to Java object's fields.
    I want to reduce this extra headache & want to use either of BO or Java object.I want to know What is the best practice - use BO or Java object as process input. If it is BO,how I can reuse BOs in Java?
    Thanks in advance.
    Thanks,
    Sujata P. Galinde

    Hi Mark,
    Thanks for your response. I also wanted to use java object only. When I use java object as process input argument..it is fine. But when I try to create Process web service, I am getting compilation error - "data type not supported".....
    To get rid of this error, I tried to use heir (BO inheriting from java class). But while invoking process as web service, it is not asking for fields that are inherited from java class.
    Then I created Business Object with a field of type java class... This also is not working. While sending request, it is giving an error that - field type for fields from java class not found.
    Conclusion - not able to use java object as process(exposed as web service) input argument .
    What is the Best & feasible way to accomplist the task - Process using DAO in Java & exposed as web service.
    Thanks & Regards,
    Sujata

  • What is the best IDE for database programming in java?

    im just new to java, i have experience in powerbuilder and visual basic. Im looking for an IDE for JAVA Database Programming that have same ease of use of the GUI builder of visual basic and power of the Datawindow in Powerbuilder.
    What is the best IDE for database programming in java?

    hey sabre why not just help me? instead of posting
    annoying replies. You want me to browse all the post
    two weeks ago to find what im looking for. stoopsMost regulars to this forum find X-posting annoying. Since you are lazy and want me to search the posts of the last couple of week for you, I find you very annoying.

  • What is the best way to learn SAP Java

    Hi,
    I would like to understand basic principles of SAP Java, to check how it is working, primarily J2EE components like JMS, WS, EJB, Persistence... As I'm ABAP and PI consultant, I see this as my next step, sure I'm not aiming to be experienced Java developer beacuse this would require much more time than I have now.
    So far I read "Foundations of Java for ABAP Programmers" but I think that this is just a begining. I want to learn more stuff about SAP J2EE    and J2SE is for me, let say, clear.
    Also I start reading "Java Programming With The Sap Web Application Server" as my next book about SAP Java, but it is not quite that I don't like this book, it is somehow not interested for me.
    So I would like to hear your suggestions what is the best way or the best approach to learn SAP Java. I see this as future help for one ABAP and PI consultant. Also I've done some Mapping developments for PI (SAX and DOM parser), so really think for me to know Java better it will be "bigger plus" for me.
    kr
    mario

    I will suggest you SAP Elearning section on SDN about Java Development.
    Below is the link....
    http://www.sdn.sap.com/irj/scn/java-elearning?dprpp=all
    It contains lot of practical examples which will keep you interested as well..
    But you wil lhave to be very selective there on whaich topic you wish to kick start.........
    For example there is one called :
    Java for ABAP Programmers
    ABAP Objects for Java Developers
    SAP Java World for ABAP Programmers
    Java Mapping in Exchange Infrastructure

  • What is the best IDE to write java?

    I was wondering if somebody can tell me what is the best IDE to write java?

    Search the forums for "Best IDE", which has been asked a zillion times.

  • What is the best way to learn about java?

    What is the best and cheapest way to learn java?

    I also am a Newbie to the Java language and am trying to get my head around it. I guess it all depends upon how much experience, and at what level, you have with programming in general. I have a good understanding of what my University tutor called "sequential logical thought" but I must confess this Object Oriented approach is, at first, most odd. However the Sun tutorial :
    http://java.sun.com/docs/books/tutorial/java/TOC.html
    : is the one I use the most. If I don't understand a specific computing term then I look it up at :
    http://www.webopedia.com/
    : which is a very good online encyclopedia of computing terms.
    There is also :
    http://www.joegrip.com/
    : which is an online "interactive" tutorial (you have to pay)
    I would advise against rushing out and buying a book until you have spent a whole day trolling through the 'net and seeing what it has to offer . There is a lot out there. The problem is wading through all the nonsense until you find what you're looking for.
    Good luck

  • What is the  best money making java program?

    what is the best money making java program?
    any of them are in fact very "simple"? - say in fact can be develop by a middle- level programmer.

    public class MoneyMaker {
       public static void main(String[] args) {
          while (true) {
             System.out.println("+-----------------------------------------------+");
             System.out.println("| 10        RESERVE BANK OF INDIA \"93T 872468\"  |");
             System.out.println("|                                               |");
             System.out.println("|   ______                                   10 |");
             System.out.println("|  /      \\             __          ____        |");
             System.out.println("|  |      |        /|  /  \\        /  __\\       |");
             System.out.println("|  |      |         | |    |       0_o  \\\\      |");
             System.out.println("|  |      |         | |    |      /      ||     |");
             System.out.println("|  |      |         |  \\  /       `==    ||     |");
             System.out.println("|  |      |        ===  **         \\    /       |");
             System.out.println("|  |      |                        /\\--/        |");
             System.out.println("|  \\______/                       /______   /\\  |");
             System.out.println("|                                           \\/  |");
             System.out.println("| \"93T 872468\"                                  |");
             System.out.println("+-----------------------------------------------+");
             System.out.println("");
    }

  • Everytime i try to open creative cloud installer i get a error code 22 i have tried turning off my firewall and no success. what is the best way forward?

    everytime i try to open creative cloud installer i get a error code 22 i have tried turning off my firewall and no success. what is the best way forward?

    is that the case-sensitive drive error?  Error "Case-sensitive drives not supported" or similar install error | Mac OS

Maybe you are looking for

  • Can't connect to internet on my old g4 flat screen, network + airport ok

    I installed an airport card on the g4 (dome) and connected to our wireless network, which gets a signal, (though the status is "not available"). I can't connect to internet (server not recognized), and every time I check the internet assistant app, t

  • Ipod touch will not sync or charge..can anyone help ?

    Hi my ipod touch is allof a sudden not syncing at all to my computor. (I have installed the latest itunes). It is also not accepting the charge from any charger or lead. I have tried an option found on a different website which involved holding down

  • IPhoto won't load all my pictures during import?

    Whenever I try to import photos from my iPhone onto my Macbook it initially loads all photos but the last one or two and gets stuck. I've been trying this for months, and it keeps happening. Does anyone know what is happening/ can help? Thanks

  • How do I convert any video-files to audio-files using Applescript?

    Hi, when you are in finder you can right-click on a video to choose the option encode. From there you can choose an option: only audio.  I want to use this in applescripting to automate things but I searched for three months now and I can't seem to f

  • Corrupted Search For Samples and Hidden Garage Band Samples

    in logic if you go to garage band instruments, strings and select basses staccato, it searches for the wrong samples for the instrument. how do i clear what ever searches for exs and garage band samples in logc? also those physical samples used in th