I know ZIP about Java. Where Do I Learn?

I know virtually nothing about Java. I have avoided it but now I want to learn and so far everything I have seen is pretty much Greek. I have used FP2003 and Dreamweaver to build web pages but not delved ino the guts of Java. Where do I begin?
Ionamic

Here are some excellent resources for you:
Installation Notes - JDK 5.0 Microsoft Windows (32-bit)
Your First Cup of Java
New to Java Center
The Java� Tutorial - A practical guide for programmers
The Java� Tutorial - Trail: Learning the Java Language
Java Programming Notes - Fred Swartz
How To Think Like A Computer Scientist
Introduction to Computer Science using Java
The Java Developers Almanac 1.4
Object-Oriented Programming Concepts
Object-oriented language basics
Don't Fear the OOP
Books:
The Java Programming Language - 4th Edition
Head First Java, by Bert Bates and Kathy Sierra
Thinking in Java (Free online), by Bruce Eckel
Core Java, by Cay Horstmann and Gary Cornell
Effective Java, by Joshua Bloch
http://java.sun.com/developer/Books/javaprogramming/
Good luck, and welcome to Java!
~

Similar Messages

  • URGENT !!!! I know nothing about java .... ;o)

    Hi all,
    here is my problem, I am working on a demo for a customer, I am business consultant and I know nothing about java and I have noone next to give a hand, so please help.
    I integrated a content in a Learning Management System. When launching this content in the LMS, an applet is created. I get a first page where I have to chose an option. When clicking on any of the options, I get nothing. On my java console, I can read this :
    java.lang.NoSuchMethodError: javax.swing.UIManager.c()Ljava/lang/String;
         at com.cbt.jasmine.Jasmine.Jasmine.b([DashoPro-V1.32-013000])
         at com.cbt.jasmine.Jasmine.JasmineApplet.run([DashoPro-V1.32-013000])
         at java.lang.Thread.run(Unknown Source)
    What can I do to make this ******* content work.
    Many thanks for your answers.
    XToff.

    First of all, nothing is urgent to us, only to you.
    Second, the error is clearly stated being NoSuchMethodError i.e. the program is trying to call a method that hasn't been for some reason included in the program.
    Third, I have no idea what Learning Management System is (and I'm not the only one).
    Fourth, why did you put "Re: URGENT !!!! I know nothing about java .... ;o)" as the topic instead of "Learning Management System"?

  • Want to know more about Java//???

    Conference and Workshop on Java Enterprise, Agile, JDK, Mobile, Spring, BPEL, EJB 3, Eclipse, Java EE, Cloud Computing and more..
    If you work on Java there�s no way you can afford to miss the Daring Java Conference @ Developer Summit 2008, being held May 22-23 in Bangalore. And there�s no reason to either. The first-of-its-kind conference offers the ultimate value of leading-edge skills and luminary speakers from the works over. From frameworks and middleware technologies to Open Source Java, Java Mobile, and real time technologies, you will come back to work more productive and valuable to your company. So if you�re keen on taking your knowledge and your capabilities beyond mere industry standards, you know where you need to be!
    To know more about the benefits and the registration procedure visit the summit on the Web *http://developersummit.com/conference.html#jav [http://developersummit.com/conference.html#java] a*.
    On May 23 2008, Java technology transitions into teenage years. Celebrate this achievement at the �Java Teenage Party� on the evening May 23, which will conclude the Daring Java conference.
    You will not find talks of this caliber at other events. Some very good speakers are already lined up (*http://developersummit.com/speakers.htm [http://developersummit.com/speakers.html] l*)
    �     The Future of Enterprise Java by Jim Farley
    �     Building Java-based Cloud Architectures by Amazon's Jinesh Varia
    �     Using Persistent Java Objects in Multiple Tiers by Craig Russell
    �     Enterprise Mashups Using Java by Greg Murray
    �     Java Performance Tooling by Holly Cummins
    �     Beginning Drools - Rule Engines in Java by Brian Sam-Bodden
    �     Develop Secured Ajax Applications by Olivier Poupeney
    �     Leveraging Open Source in Java EE Projects by Peter Thomas
    �     Web Services Development in Java without JEE by Sanjaya Karunasena
    �     Ajax and Comet: Implementing the Real-Time Web by Alessandro Alinone
    �     EJB 3 Java Persistence API in Action by Deb Panda
    The workshops include:
    �     Workshop: Rich Internet Applications with Flex and Java
    �     Workshop: Master Class: The Elements of User Experience
    �     Workshop: SQL Server 2008 Deep Dive
    �     Workshop: Java Data Objects Tutorial
    �     Workshop: Wicket, Spring and Hibernate: Putting It all Together
    �     Workshop: Harnessing Domain-Specific Languages (DSLs)
    �     Workshop: Parachuting Into Brownfields
    �     Workshop: Acceptance Test-Driven Development
    You can register online: *http://developersummit.com/registration.htm [http://developersummit.com/registration.html] l*
    Thanks,
    #3/18, Corporation Buildiing, Residency Road, Bangalore - 560 025
    ph +91 80 4005 1000 Fax: +91 80 2221 0148 Email: *[email protected] [[email protected]] m*
    Conference venue: J N Tata Auditorium IIsc, Bangalore- 560025

    hi

  • Any body know of a Java Script for retrieving learner location from LMS; similar to name?

    Looking for  a script to pull learning location from LMS. Then based on location send them to a particular slide. Any help would be appreciated.
    Example: learning from Chicago gets slide 2. LA slide 3, and so fourth...

    Are you using Captivate 8, so that you have access to the system variable cpInfoGeoLocation? And are your users on a device that has detection of location activated?
    For the JS you'll have to wait for someone else, but I think this information is necessary. And since you don't want to try advanced/shared actions...just wait.

  • NO clue about JAVA but need help please

    I am cleaning up someone's else work who used to be employed here. I know ZIP about Java but am becoming more and more familiar with WAR files and deplying them with Jrun on an NT2K Server.So here is what I have. I have a deployed app from months ago. I have a new app to deploy. I did this successfully. I can access it, etc. But I am getting some SQL error.
    Can anyone give me any idea what it could be? I have looked at my sqlcustomauthentication.java file and i have not anything to it. Why would something change on this when all I really did was re-deploy it.
    Here is the error.
    Thanks a TON!!
    java.lang.NullPointerException:
         at allaire.jrun.security.SQLCustomAuthentication.getName(SQLCustomAuthentication.java:76)
         at jrun__members2ejspc._jspService(jrun__members2ejspc.java:62)
         at allaire.jrun.jsp.HttpJSPServlet.service(HttpJSPServlet.java:39)
         at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:228)
         at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:196)
         at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)
         at allaire.jrun.session.JRunSessionService.service(JRunSessionService.java, Compiled Code)
         at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java, Compiled Code)
         at allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java, Compiled Code)
         at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)
         at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)
         at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java, Compiled Code)
         at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java, Compiled Code)
         at allaire.jrun.ThreadPool.run(ThreadPool.java, Compiled Code)
         at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code)

    It looks like maybe you are having a problem in the way you are accessing the authentication on your db. From the error message, I would say the name field needed to log in is never being set

  • Questions about Java Servlets and JSP

    Hi,
    I'm a confident Java Programmer (and really enjoy using this language) but am very new to Java servlets and Java Server Pages.
    I have previously worked with Perl on my web projects (simple 'league' style voting pages). I read in my 'Core Java' book that I should no longer use perl or even cgi.
    I need to know more about Java servlets and Java Server Pages so I can make the switch to a 'real' programming language.
    I have a few questions:
    How should I start to learn JS and JSP?
    How applicable will the java knowlegdge I have already be?
    Are JSP common on the world wide web?
    What tools do I need to start? (I currently develop in JBuilder and have Java 1.4.1 Standard Edition)
    Is it likey my web host (and others) will support JSP?
    Thank-you very much for helping a novice get started,
    Regards,
    Paul

    Hi, Steve ...has to be frustrating! But do not despair.
    Let's suppose the servlet it's named MyServlet on package org.servlets
    WEB-INF should look:
    WEB-INF
    classes
    org
    servlets
    MyServlet.class
    web.xml
    web.xml file should have this two declarations:
    <web-app>
      <servlet>
        <servlet-name>MyServlet</servlet-name>
        <servlet-class>org.servlets.MyServlet</servlet-class>
      </servlet>
      <!-- other servlets -->
      <servlet-mapping>
        <servlet-name>MyServlet</servlet-name>
        <url-pattern>/MyServlet</url-pattern>
      </servlet-mapping>
      <!-- other servlets mappings -->
    </web-app>Now, once the container starts (Tomcat?), you should be able to see that servlet in:
    http://localhost:8080/[my-context/]MyServletAnd what my-context is? The web application context. This string should be empty if your're deploying to the root context, otherwise should the context name. In Tomcat, deploying to root context defaults to using webapps/ROOT.
    Sorry for my English, but I felt the need to answer your request. I hope it helps despite my writing.

  • Want to know about java importer

    hi,
    i m working on oracle forms 10g. i want to know about java importer utitlity and using it.
    plz provide me ant documentation about it , if i have it with example would be easy to understand
    thanks

    I think u r lookinghttp://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal - in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

  • Where could I find some good free E-Book or paper about JAVA ?

    Dear All,
    I am searching some java websites , and find some free E-Book or paper about java,Could anyone tell me where those treasure are?
    I will deeply appreciate you .
    Thanks a lot !
    Caton

    You can try this one, tons of java resources:
    http://www.cl.cam.ac.uk/users/asa28/useful_java_research_links.htm
    Hope it helps.

  • Cannot use winzip to unzip the zip file zipped by java.util.zip

    Hi all,
    I use the followcode to create a zip file, and i downlaod it and try to use winzip to unzip this file but fail. The path is correct and i got the zip file. but it just cannot unzip.
    pls help
    thanks alot.
    Kin
              int count = 0;
              count = ContentDocuments.size();
              for (int i = 0; i < bb; i++)     {
                   System.out.println(filenames[i] + "");
              // Create a buffer for reading the files
              byte[] buf = new byte[10*1024*1024];
              try {      
                   String outFilename = MyDir + "zipfile/" + getContentID2()+".zip";
                   System.out.println("outFilename = " + outFilename);
                   ZipOutputStream out = new ZipOutputStream(new FileOutputStream(outFilename));
                   for (int i=0; i<filenames.length; i++) {           
                        FileInputStream in = new FileInputStream(filenames);
                        out.putNextEntry(new ZipEntry(filenames[i]));
                        int len;
                        while ((len = in.read(buf)) != -1) {               
                             out.write(buf, 0, len);
                        out.closeEntry();
                        in.close();
                   out.close();
              } catch (IOException e)     {
                   System.err.println("zipprocess " + e.getMessage());

    I've written a replacement zip file creator class. Not much tested but it seems to work, however I've yet to try it with the version of WINZIP that rejected my previous attempts. Oh, and the stored dates are garbage.
    * ZipOutputFile.java
    * Created on 25 March 2004, 13:08
    package zip;
    import java.io.IOException;
    import java.nio.ByteBuffer;
    * <p>Creates a ZIP archive in a file which WINZIP should be able to read.</p>
    * <p>Unfortunately zip archives generated by the standard Java class
    * {@link java.util.zip.ZipOutputStream}, while adhering to PKZIPs format specification,
    * don't appear to be readable by some versions of WinZip and similar utilities. This is
    * probably because they use
    * a format specified for writing to a non-seakable stream, where the length and CRC of
    * a file is writen to a special block following the data. Since the length of the binary
    * date is unknown this makes an archive quite complicated to read, and it looks like
    * WinZip hasn't bothered.</p>
    * <p>All data is Deflated. Close completes the archive, flush terminates the current entry.</p>
    * @see java.util.zip.ZipOutputStream
    * @author  Malcolm McMahon
    public class ZipOutputFile extends java.io.OutputStream {
        byte[] oneByte = new byte[1];
        java.io.RandomAccessFile archive;
        public final static short DEFLATE_METHOD = 8;
        public final static short VERSION_CODE = 20;
        public final static short MIN_VERSION = 10;
        public final static int  ENTRY_HEADER_MAGIC = 0x04034b50;
        public final static int  CATALOG_HEADER_MAGIC = 0x02014b50;
        public final static int  CATALOG_END_MAGIC = 0x06054b50;
        private final static short DISC_NUMBER = 0;
        ByteBuffer entryHeader = ByteBuffer.wrap(new byte[30]);
        ByteBuffer entryLater = ByteBuffer.wrap(new byte[12]);
        java.util.zip.CRC32 crcAcc = new java.util.zip.CRC32();
        java.util.zip.Deflater def = new java.util.zip.Deflater(java.util.zip.Deflater.DEFLATED, true);
        int totalCompressed;
        long MSEPOCH;
        byte [] deflateBuf = new byte[2048];
        public static final long SECONDS_TO_DAYS = 60 * 60 * 24;
         * Entry stores info about each file stored
        private class Entry {
            long offset;        // position of header in file
            byte[] name;
            long crc;
            int compressedSize;
            int uncompressedSize;
            java.util.Date date;
             * Contructor also writes initial header.
             * @param fileName Name under which data is stored.
             * @param date  Date to label the file with
             * @TODO get the date stored properly
            public Entry(String fileName, java.util.Date date) throws IOException {
                name = fileName.getBytes();
                this.date = date == null ? new java.util.Date() : date;
                entryHeader.position(10);
                putDate(entryHeader);
                entryHeader.putShort(26, (short)name.length);
                offset = archive.getFilePointer();
                archive.write(entryHeader.array());
                archive.write(name);
                catalog.add(this);
                crcAcc.reset();
                totalCompressed = 0;
                def.reset();
             * Finish writing entry data. Save the lenghts & crc for catalog
             * and go back and fill them in in the entry header.
            public void close() throws IOException {
                def.finish();
                while(!def.finished())
                    deflate();
                entryLater.position(0);
                crc = crcAcc.getValue();
                compressedSize = totalCompressed;
                uncompressedSize = def.getTotalIn();
                entryLater.putInt((int)crc);
                entryLater.putInt(compressedSize);
                entryLater.putInt(uncompressedSize);
                long eof = archive.getFilePointer();
                archive.seek(offset + 14);
                archive.write(entryLater.array());
                archive.seek(eof);
             * Write the catalog data relevant to this entry. Buffer is
             * preloaded with fixed data.
             * @param buf Buffer to organise fixed lenght part of header
            public void writeCatalog(ByteBuffer buf) throws IOException {
                buf.position(12);
                putDate(buf);
                buf.putInt((int)crc);
                buf.putInt(compressedSize);
                buf.putInt(uncompressedSize);
                buf.putShort((short)name.length);
                buf.putShort((short)0);  // extra field length
                buf.putShort((short)0);  // file comment length
                buf.putShort(DISC_NUMBER);  // disk number
                buf.putShort((short)0); // internal attributes
                buf.putInt(0);      // external file attributes
                buf.putInt((int)offset); // file position
                archive.write(buf.array());
                archive.write(name);
             * This writes the entries date in MSDOS format.
             * @param buf Where to write it
             * @TODO Get this generating sane dates
            public void putDate(ByteBuffer buf) {
                long msTime = (date.getTime() - MSEPOCH) / 1000;
                buf.putShort((short)(msTime % SECONDS_TO_DAYS));
                buf.putShort((short)(msTime / SECONDS_TO_DAYS));
        private Entry entryInProgress = null; // entry currently being written
        private java.util.ArrayList catalog = new java.util.ArrayList(12);  // all entries
         * Start a new output file.
         * @param name The name to store as
         * @param date Date - null indicates current time
        public java.io.OutputStream openEntry(String name, java.util.Date date) throws IOException{
            if(entryInProgress != null)
                entryInProgress.close();
            entryInProgress = new Entry(name, date);
            return this;
         * Creates a new instance of ZipOutputFile
         * @param fd The file to write to
        public ZipOutputFile(java.io.File fd) throws IOException {
            this(new java.io.RandomAccessFile(fd, "rw"));
         * Create new instance of ZipOutputFile from RandomAccessFile
         * @param archive RandomAccessFile
        public ZipOutputFile(java.io.RandomAccessFile archive) {
            this.archive = archive;
            entryHeader.order(java.nio.ByteOrder.LITTLE_ENDIAN);  // create fixed fields of header
            entryLater.order(java.nio.ByteOrder.LITTLE_ENDIAN);
            entryHeader.putInt(ENTRY_HEADER_MAGIC);
            entryHeader.putShort(MIN_VERSION);
            entryHeader.putShort((short)0);  // general purpose flag
            entryHeader.putShort(DEFLATE_METHOD);
            java.util.Calendar cal = java.util.Calendar.getInstance();
            cal.clear();
            cal.set(java.util.Calendar.YEAR, 1950);
            cal.set(java.util.Calendar.DAY_OF_MONTH, 1);
    //        def.setStrategy(Deflater.HUFFMAN_ONLY);
            MSEPOCH = cal.getTimeInMillis();
         * Writes the master catalogue and postamble and closes the archive file.
        public void close() throws IOException{
            if(entryInProgress != null)
                entryInProgress.close();
            ByteBuffer catEntry = ByteBuffer.wrap(new byte[46]);
            catEntry.order(java.nio.ByteOrder.LITTLE_ENDIAN);
            catEntry.putInt(CATALOG_HEADER_MAGIC);
            catEntry.putShort(VERSION_CODE);
            catEntry.putShort(MIN_VERSION);
            catEntry.putShort((short)0);
            catEntry.putShort(DEFLATE_METHOD);
            long catStart = archive.getFilePointer();
            for(java.util.Iterator it = catalog.iterator(); it.hasNext();) {
                ((Entry)it.next()).writeCatalog(catEntry);
            catEntry.position(0);
            catEntry.putInt(CATALOG_END_MAGIC);
            catEntry.putShort(DISC_NUMBER);
            catEntry.putShort(DISC_NUMBER);
            catEntry.putShort((short)catalog.size());
            catEntry.putShort((short)catalog.size());
            catEntry.putInt((int)(archive.getFilePointer() - catStart));
            catEntry.putInt((int)catStart);
            catEntry.putShort((short)0);
            archive.write(catEntry.array(), 0, catEntry.position());
            archive.setLength(archive.getFilePointer());  // truncate if old file
            archive.close();
            def.end();
         * Closes entry in progress.
        public void flush() throws IOException{
            if(entryInProgress == null)
                throw new IllegalStateException("Must call openEntry before writing");
            entryInProgress.close();
            entryInProgress = null;
         * Standard write routine. Defined by {@link java.io.OutputStream}.
         * Can only be used once openEntry has defined the file.
         * @param b  Bytes to write
        public void write(byte[] b) throws IOException{
            if(entryInProgress == null)
                throw new IllegalStateException("Must call openEntry before writing");
            crcAcc.update(b);
            def.setInput(b);
            while(!def.needsInput())
                deflate();
         * Standard write routine. Defined by {@link java.io.OutputStream}.
         * Can only be used once openEntry has defined the file.
         * @param b  Bytes to write
        public void write(int b) throws IOException{
            oneByte[0] = (byte)b;
            crcAcc.update(b);
            write(oneByte, 0, 1);
         *  Standard write routine. Defined by {@link java.io.OutputStream}.
         * Can only be used once openEntry has defined the file.
         * @param b  Bytes to write
         * @param off Start offset
         * @param len Byte count
        public void write(byte[] b, int off, int len) throws IOException{
            if(entryInProgress == null)
                throw new IllegalStateException("Must call openEntry before writing");
            crcAcc.update(b, off, len);
            def.setInput(b, off, len);
            while(!def.needsInput())
                deflate();
        * Gets a buffer full of coded data from the deflater and writes it to archive.
        private void deflate() throws IOException {
            int len = def.deflate(deflateBuf);
            totalCompressed += len;
            if(len > 0)
                archive.write(deflateBuf, 0, len);

  • How to create password protected zip in java?

    I want to create a password protected zip file in java...java.util.zip does not support this...how to do this???
    Someone please help...

    Thanks for Reply"[email protected]"
    Till today whatever i got is this------
    In java there is no way to make a password protected zip...java.util.zip package does not support this thing...
    To do this we require Third party API---
    Two third party Api i got...
    one is "CHILKAT API for java"
    and another one is "IPWORKS"http://www.componentsource.com/products/ipworks-zip-java-desktop/index.html
    but both of these API are paid...
    Even this problem has been reportd as bug in the bug database....
    And the other way is related with Class Process Builder of java...
    If someone knows more about this then tell me...

  • Question about Java apps structure

    Hello guys,
    I'm a professional C++ programmer and I would like to start learning Java. I'm reading about Java from here and there and would like to ask you about how a java program is structured compared to C++.
    So in C++, I have main.cpp (or any other file name, doesn't matter), which contains a the main() function, and I have .h and .cpp class files that I instantiate (basically) in my main function to get my program to work.
    In Java, I'm confused and can't really find the "general" rule to how stuff are organised. I noticed that every class has a main function (why?), and there's no global scope. And "somehow", file names must exactly be equal to the class names.
    The question is: how are Java files of classes (and other stuff, if available) are arranged to create a program? What's the standard why? And How can I have many classes together in a single main()?
    Thank you for any efforts :-)
    Edited by: 927494 on 13.04.2012 07:02
    Edited by: 927494 on 13.04.2012 09:10

    Thank you guys for the replies. I still have some more doubts :-)
    Do I have to have a file for the implementation and a file for the definitons, like cpp and header files? or just everything inside the class?
    Why does Netbeans fail to compile when I change the class name? what should I change with the class name in general to have it compile correctly? From what I understand till now, the top level class's name (the class with the main() function that's gonna be executed) has to be equal to the file name (and I got that this is the sufficient condition for the app to compile), while the same file can have more classes if I wish. Did I get that right?
    I don't know if I get that right too, we pass only a SINGLE class/file to the compiler, and it automatically resolves ALLLL the included files automatically, unlike C++, where all cpp files have to be passed to the compiler/makefile to create object files, and then the executable is created after linking all those object files with the libraries together. i.e.: Java doesn't really need a makefile because making is really simple with only 1 filename. True?

  • Some questions about Java deployment steps and techniques

    All my java experience is coding and testing in my local machine (where, of course, a jre is available), but ... when I deploy to other people, they may not have a jre or they may have a different version of it than the one needed to run my application. I've read different stuff online including jars and java web start but still I have many questions.
    (1) first one first, Sun contradicts common sense, when it says that i can redistribute my own customized light version of their jre by taking out some files (java.sun.com/j2se/1.5.0/jre/README). there are two ways for me to get a jre: Way one is by downloading one from Sun, the download comes as an *.exe file and I don't see how I can take files out of it, so do you know how?. Way two would be by simply copying the set of files i choose (according to that Readme) from my current jre installation (the one on my \java\jdk\jre directory), does this make sense?, (if you're under windows) doesn't an installed version of a jre need a couple of dlls plus some new registry entries?, this contradicts common sense, if I'm not wrong, that Readme is a nonsense, but since that readme is at each of us jre installation \java\jdk1.x\jre\Readme, it can't be a nonsense, therefore I'm wrong, therefore the answer is either Way 1 or Way 2, HOW? ... or maybe there's a Way 3?
    (2) Say I never read that Readme so I download the jre (as an exe) to bundle it along with my application in a jar ... now I'll give my neighbor either a jar with two exes or two exes jars ... is there a way to make a jar so that two files get executed? ... if the answer is No and I have competition from a second neighbor, then I believe I'm asking my first neighbor to choose my application based on our friendship, that's not reasonable if we are doing business, so Java loses.
    (3) Say that my application is a single executable file like this,
    class X{
    public static void main(String[]$$$){
    System.out.println("Console, where are you?");
    At this point, say that my neighbor accepted the two executables, he executed the jre.exe and has jre6 in his system, now he double clicks on my X.jar ... it's a console application and jar files are not associated with the java.exe launcher since java 5, but with javaw which doesn't open any console ... how do i make it so a console opens and prints "Console, where are you?" ... do I ask my neighbor-customer to add a couple of lines to his path and open his console and (please) enter java -jar jarfile.jar? ... isn't it too much? ... i hope i'm wrong cause this is kind of discouraging
    (4) I've read that by installing a more recent version of a jre on a system that has an older jre (there to help other applications work), I might be causing a problem for the other applications to run ... I guess that's the reason why that Readme kind of encourage to redistribute a "private" version of a jre (one that doesn't come with a java.exe launcher ... any feedback on this?
    (5) I'm reading a lot of hype about Java Web Start ... it looks better than the traditional jar/jre deployment ... but setting up a MIME type to *.jnlp, it doesn't come with some free hosting I've checked ... somebody can recommend a free hosting service that allows to set a *.jnlp MIME? (I'll appreciate a suggestion here, cause I would like to test Web Start)... and, anyhow, how you people compare it with the paradigm of the single executable file?.
    Thanks. Your feedback is highly appreciated.

    jorgelbanda wrote:
    ..(5) I'm reading a lot of hype about Java Web Start ... It's gratifying to think that someone who wants to deploy apps., has the common sense to search first! You would not guess how I often I hear "I wanna' make an EXE" shortly followed by "What's webstart?".
    ...it looks better than the traditional jar/jre deployment ... but setting up a MIME type to .jnlp, it doesn't come with some free hosting I've checked ... OK. You cannot define new mime types, but perhaps the site already has it defined. An easy way to check is to upload 'any old file' that ends in .jnlp and use the [mime type checker|http://pscode.org/mime/] to see what content type it is served as.
    ..somebody can recommend a free hosting service that allows to set a .jnlp MIME? (I'll appreciate a suggestion here, cause I would like to test Web Start)... I'm pretty sure the Google based sites offer it.
    Note that I edited the asterisks out of your post, to avoid the forum software parsing half the reply as bold.

  • My University project about java program plagiarism

    I am working on my Final year Project about java program plagiarism.
    i.e. My system finds similarity between two programs by "Source code" to check whether there are plagiarism.
    And now i need plenty of samples and need your help.
    I need two types of sample:
    1. original version - a version written by your own.
    2. plagiarized version - a version which is copied from original version and has modified to conceal that it is a plagiarism.(Try to treat the teacher)
    My two sample programs are:
    1. Find shortest path by Dijkstra's algorithm.
    2. Find the determinant of a N x N matrix.
    Both programs read data from txt file as input.
    Now, I sincerely invite you to help me to make samples
    You can choose to do the version(original or plagiarized) and the program you like.
    After you have finished, please kindly send to [email protected]
    If you decide to do plagiarized version, please download the following sources and modified them.
    http://myweb.polyu.edu.hk/~04954136d/FYP/shortestpath.zip
    http://myweb.polyu.edu.hk/~04954136d/FYP/determinant.zip
    Thank you very much. Looking forwards to your program.

    Ha ha, good try.
    You know, if you had posted whatever you have achieved so far, you might actually have got the help you so obviously need. But now your only chance of getting any help here is to get yourself another username.
    If this were true, your professors would have gladly supplied you with research material in exchange for use of your "system".
    db
    PS May I add your email to my list?
    http://forum.java.sun.com/thread.jspa?threadID=636123&start=64

  • Need to find a book about Java history

    Hello,
    I'm not sure I am posting in the right forum, but anyway...
    I am currently performing a research entitled "The use of the Java platform in the entertainment industry". To begin, I need a book where I could find hitorical information about Java cretion and evolution, but I can't manage to find one. The history given on the java.sun.com website is way too short and all the books I could find deal with technical aspect of Java...
    Does anyone knows a book that could interest me?

    Thanks for the links, but as it is an academic
    dissertation, I'd rather find a book... The Internet
    is still not really trusted as an academic source of
    information.
    So there's no chance for me to find a book with a
    proper history (better than the half page introduction
    in present in every Java programming book)Well then why not try journals? You won't find one book from which you can write your whole thesis, and if you did, you probably wouldn't get very good marks. As a guide, my MSc dissertation had around 300 references and 60k words, which is not uncommon. Journal articles are far more targetted, and certainly more likely to cover such a specific area as what you are asking of.

  • I have a macbook pro running 10.8.5. I know little about computers but have started my computer in safe boot as this is the only way I can connect to Safari.

    I am currently in safeboot as Safari will not open otherwise.  my emails are working fine.  I do not know much about computers but looked at a couple of previous discussions and have pasted the results of an Etrecheck - please can you tell me why Safari isnt running like usual!  my daughter likes using my computer for games but she has another user id.  I would be grateful for help.  Also is Safeboot ok to use?
    Hardware Information:
              MacBook Pro (13-inch, Mid 2012)
              MacBook Pro - model: MacBookPro9,2
              1 2.5 GHz Intel Core i5 CPU: 2 cores
              4 GB RAM
    Video Information:
              Intel HD Graphics 4000 - VRAM: 512 MB
    System Software:
              OS X 10.8.5 (12F45) - Uptime: 0 days 0:35:53
    Disk Information:
              MATSHITADVD-R   UJ-8A8 
              APPLE HDD HTS547550A9E384 disk0 : (500.11 GB)
                        disk0s1 (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 499.25 GB (408.33 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
    USB Information:
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Computer, Inc. IR Receiver
              Apple Inc. BRCM20702 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Inc. Apple Internal Keyboard / Trackpad
    FireWire Information:
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Kernel Extensions:
              com.rim.driver.BlackBerryUSBDriverInt          (0.0.74)
    Launch Daemons:
              [System] com.adobe.fpsaud.plist 3rd-Party support link
              [System] com.genieoinnovation.macextension.client.plist 3rd-Party support link
              [System] com.google.keystone.daemon.plist 3rd-Party support link
              [System] com.oracle.java.Helper-Tool.plist 3rd-Party support link
              [System] com.rim.BBDaemon.plist 3rd-Party support link
              [System] com.trusteer.rooks.rooksd.plist 3rd-Party support link
              [System] org.macosforge.xquartz.privileged_startx.plist 3rd-Party support link
    Launch Agents:
              [System] com.genieoinnovation.macextension.plist 3rd-Party support link
              [System] com.google.keystone.agent.plist 3rd-Party support link
              [System] com.oracle.java.Java-Updater.plist 3rd-Party support link
              [System] com.rim.BBAlbumArtCacher.plist 3rd-Party support link
              [System] com.rim.BBLaunchAgent.plist 3rd-Party support link
              [System] com.trusteer.rapport.rapportd.plist 3rd-Party support link
              [System] org.macosforge.xquartz.startx.plist 3rd-Party support link
    User Launch Agents:
              [not loaded] com.adobe.ARM.[...].plist 3rd-Party support link
              [not loaded] com.adobe.ARM.[...].plist 3rd-Party support link
              [not loaded] com.facebook.videochat.[redacted].plist 3rd-Party support link
              [not loaded] jp.co.canon.Inkjet_Extended_Survey_Agent.plist 3rd-Party support link
    User Login Items:
              iTunesHelper
              AdobeResourceSynchronizer
              Mail
              Canon IJ Network Scanner Selector2
              Safari
    Internet Plug-ins:
              DirectorShockwave: Version: 11.6.5r635 3rd-Party support link
              Google Earth Web Plug-in: Version: 6.1 3rd-Party support link
              Unity Web Player: Version: UnityPlayer version 4.3.1f1 - SDK 10.6 3rd-Party support link
              CouponPrinter-FireFox: Version: Version 1.0.11X
              AdobePDFViewerNPAPI: Version: 10.1.8 3rd-Party support link
              FlashPlayer-10.6: Version: 12.0.0.77 - SDK 10.6 3rd-Party support link
              Silverlight: Version: 4.0.60531.0 3rd-Party support link
              Flash Player: Version: 12.0.0.77 - SDK 10.6 Outdated! Update
              QuickTime Plugin: Version: 7.7.1
              iPhotoPhotocast: Version: 7.0
              AdobePDFViewer: Version: 10.1.8 3rd-Party support link
              EPPEX Plugin: Version: 3.0.5.0 3rd-Party support link
              JavaAppletPlugin: Version: Java 7 Update 51 3rd-Party support link
    Safari Extensions:
              Twitter for Safari: Version: 1.02
              Bing Highlights: Version: 1.0.24
    Audio Plug-ins:
              AirPlay: Version: 1.7 - SDK 10.8
              iSightAudio: Version: 7.7.1 - SDK 10.8
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.8
    3rd Party Preference Panes:
              Flash Player  3rd-Party support link
              Java  3rd-Party support link
              Trusteer Endpoint Protection  3rd-Party support link
    Old Applications:
              None
    Time Machine:
              Skip System Files: NO
              Mobile backups: ON
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 464.96 GB Disk used: 84.67 GB
              Destinations:
                        Time Machine Backups [Local] (Last used)
                        Total size: 465.44 GB
                        Total number of backups: 5
                        Oldest backup: 2012-08-03 18:22:53 +0000
                        Last backup: 2013-03-22 21:18:30 +0000
                        Size of backup disk: Adequate
                                  Backup size 465.44 GB > (Disk used 84.67 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                   3%          WindowServer
                   1%          ps
                   0%          SystemUIServer
                   0%          configd
                   0%          tccd
    Top Processes by Memory:
              197 MB          Safari
              123 MB          WebProcess
              57 MB          EtreCheck
              53 MB          WindowServer
              53 MB          Dock
    Virtual Memory Information:
              493 MB          Free RAM
              1.04 GB          Active RAM
              307 MB          Inactive RAM
              2.17 GB          Wired RAM
              228 MB          Page-ins
              0 B          Page-outs

    Uninstall Genieo:
    http://www.thesafemac.com/arg-genieo/
    See if that makes a difference.
    Ciao.
    DawnHerbie wrote:
    Also is Safeboot ok to use?
    Yes, it will do no harm, but it is meant for trouble shooting and you should not have to use it all the time.
    Message was edited by: OGELTHORPE

Maybe you are looking for