Help needed in writing installers for swing application

Hi ,
I want to write an installer for one of our home grown profiler tool. I need to write the installer for different platforms such as windows,linux,solaris,HP-UX.
Does anybody have any idea of how to go ahead in writing installations. Share if there is any good links such as tutorials as well is thr any opensource tool (similar to installsheild) to write installers . As well following is the tentative algorithm for my install sheild
1. Create a home dir for the tool and put all the application files in tht.
2. Installing a 3rd party jar and make a home for it.
3. Option for user to select the features(i hv 2 features. user can either select both or select individual feature) to be installed.
4. Select the appserver home if any. On selection i hv to update the classpath in the startup batch file for the application(This is the toughest step i beleive bcoz each appserver have different folder structures and different startup batch files).

Tried obtaining the output using SQL and the result is as follows:
SQL> WITH T AS
  2  (
  3  SELECT 1 COL1 FROM DUAL
  4  UNION
  5  SELECT 2 COL1 FROM DUAL
  6  UNION
  7  SELECT 3 COL1 FROM DUAL
  8  UNION
  9  SELECT 4 COL1 FROM DUAL
10  UNION
11  SELECT 5 COL1 FROM DUAL
12  UNION
13  SELECT 8 COL1 FROM DUAL
14  UNION
15  SELECT 9 COL1 FROM DUAL
16  UNION
17  SELECT 10 COL1 FROM DUAL
18  UNION
19  SELECT 13 COL1 FROM DUAL
20  UNION
21  SELECT 14 COL1 FROM DUAL
22  UNION
23  SELECT 15 COL1 FROM DUAL
24  UNION
25  SELECT 16 COL1 FROM DUAL
26  UNION
27  SELECT 23 COL1 FROM DUAL
28  UNION
29  SELECT 24 COL1 FROM DUAL
30  )
31  SELECT OUTPUT FROM
32  (
33  SELECT DECODE(COL3,NULL,COL1, COL2)  || '-' || LEAD(DECODE(COL3,NULL,COL3, COL1)) OVER (ORDER BY DECODE(COL3,NULL,COL1, COL2)) OUTPUT  FROM
34  (
35  SELECT COL1, LEAD(COL1) OVER (ORDER BY COL1) COL2, LAG(COL1) OVER (ORDER BY COL1) COL3 FROM T
36  )
37  WHERE
38  (COL2 - COL1 > 1 OR COL2 IS NULL OR COL3 IS NULL)
39  )
40  WHERE OUTPUT != '-';
OUTPUT                                                                         
1-5                                                                            
8-10                                                                           
13-16                                                                          
23-24

Similar Messages

  • How do i use MIB-2 for writing MIB for my application?

    I want to use the existing MIB-2 to write MIB variable for my application. The application is energy metering.So How do i use MIB-2 for writing MIBs for my application?
    Santosh Chavan
    IIT MADRAS.

    For others who do not know what an MIB is, here is link that shows some more information:
    http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/snmp.htm .   A quick Google of MIB did not turn up any useful information, but looking for SNMP quickly found this link. 
    It really turns out that I am not the person to help.
    It turns out that I am not the person to help, but I always want to know more as I may have a similar problem later.  I know from personal experience that it is easy to use a term commonly in a company or industry but have no one out side of that industry understand.  I was asking if that was such a term (hopefully with a little humor).  I'm sorry if my joke fell flat.
    I hope that you get an answer,
    Bob Young
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

  • Help need my mac pro for school..it has Grey screen..spinning wheel...repaid disk ok...repair disk permission all repaired but one warning...

    Help need my mac pro for school..it has Grey screen..spinning wheel...
    I think I have  mountain lion OS X....I have done I think almost every suggestion I've seen in discussion boards.
    Boot in recovery repaired disk...ok...repair disk permission...all repaired but one warning...I've tried to reinstall lion (without losing data) and it Got all the way to one minute to be done and then the time change back two hours and kept doing this all night long.  I haven't done a back up due to no external for time machine.
    I hope someone can please help me I've been going crazy for a week now trying to figure this out.  I use my computer for school and I'm currently very behind from in my school work  thank you
    Also I've checked my available space  424.91 free of 750 gigs....disk is verified

    Welcome to the Apple Support Communities
    Try holding the Shift key while your Mac is starting to start into safe mode. Then, after starting in safe mode, open Finder, select Go menu (on the menu bar) > Go to Folder, and type /Library/StartupItems. Then, empty this folder and restart the Mac.
    If your Mac starts after doing this, it was a problem with a third-party app that starts automatically when you turn on the computer. It won't start automatically anymore after doing that

  • Including images in JAR for Swing Application

    I am using a couple of images in a Swing application. When I create the JAR file I include all the images. The JAR executes fine but the images are missing. When I put the images in the same directory as the JAR file the images are properly displayed.
    The code I use to display the images is:
    JLabel label = new JLabel(new ImageIcon("pleaseWait.gif"));
    Can anyone let me know what I need to do to get the image from the JAR? Do I need to look at ResourseBundle's?
    Thanks for any help..

    Does anybody know what is the reason of my problem??
    I created a package called test in my eclipse env. and in that package I placed folder named graph in which there is a file Help.png.
    Here is all the code I run in eclipse and it runs properly. When I create a jar file (using eclipse wizard) to execute without eclipse it can not execute and shows nothing (process starts and I have to kill it by myself in OS). Maybe there is some mistake with making jar... I do not know
    So let someone try tu run my class or build jar file and try to execute and share his observations (solutions) ??
    package test;
    import java.awt.Toolkit;
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.UIManager;
    public class TestWindow extends JFrame {
         private JButton jButton1 = new JButton(new JARImage().getImage("Help.png"));
         public TestWindow() {
              this.getContentPane().add(jButton1);
              this.validate();
              this.setVisible(true);
         private class JARImage {
              protected ImageIcon getImage(String imageName) {
                   ImageIcon image = new ImageIcon();
                   try {
                        image.setImage((Toolkit.getDefaultToolkit().getImage(getClass()
                                  .getResource("graph/" + imageName))));
                   } catch (Exception ex) {
                        System.out.println("Image Error: " + ex);
                        ex.printStackTrace();
                   return image;
         public static void main(String[] args) {
              try {
                   UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
              } catch (Exception e) {
                   e.printStackTrace();
              new TestWindow();
    }

  • License for swing application

    Hello guys,
    I need your help about a question.
    In the next days I'll develop a java application (swing application) for a customer.
    What I need is to forbid possibility to copy this application on other pc, so I need some license system.
    How can I bind installation of application (that is running of jar) on a specific pc and forbid to use it on other pc?
    I need to do it without key device, but via software.
    What's best solution for this issue?
    I would appreciate any help,
    Thanks

    snic.snac wrote:
    How exactly is that going to keep a user from using multiple copies on a single subscription?It isn't. And my message is that it isn't worth worrying about this ...
    The business "requirement" you have is usually not "how do I prevent my customer from making multiple copies" or "how do I prevent people from copying my application illegaly". Your requirement is (or should be) "how do I make more money with this".
    History has tought us that focusing on making the software hard-to-copy is a bad idea because the cost of making a reasonably well-working copy-protection is very high and even those are easily broken (it need only be broken once, then everyone can get a copy).
    Now if you make buying the software actually provide some additional value (automated, timely updates; online support; access to a feature-request queue; ...) and keep the price reasonable, then "copying + using only half a product" becomes more "expensive" to the user than "buying and getting the full advantage".
    I have to agree, 'though, that in the case of custom-built software for a single client that's not really relevant. I'd agree that you should simply request that they pay enough money so that you don't have to worry about copy protection. Maybe offer them the source if they do, so that they actually get some value out of it (see the theme? providing value for the money helps you get the money).

  • Help needed  in writing a Query/Procedure

    Hello All,
    Need all ur help in writing a query or procedure
    Lets say the Table name is DEMO
    There i have one column like num it has values
    1
    2
    3
    4
    5
    8
    9
    10
    my query output should be
    1-5
    8-10
    i,e .. if the diff between two rows is greater than 1 then it result should be in a separate group
    I need a query/Procedure for this. Kindly help
    Regards,
    Chandra

    Tried obtaining the output using SQL and the result is as follows:
    SQL> WITH T AS
      2  (
      3  SELECT 1 COL1 FROM DUAL
      4  UNION
      5  SELECT 2 COL1 FROM DUAL
      6  UNION
      7  SELECT 3 COL1 FROM DUAL
      8  UNION
      9  SELECT 4 COL1 FROM DUAL
    10  UNION
    11  SELECT 5 COL1 FROM DUAL
    12  UNION
    13  SELECT 8 COL1 FROM DUAL
    14  UNION
    15  SELECT 9 COL1 FROM DUAL
    16  UNION
    17  SELECT 10 COL1 FROM DUAL
    18  UNION
    19  SELECT 13 COL1 FROM DUAL
    20  UNION
    21  SELECT 14 COL1 FROM DUAL
    22  UNION
    23  SELECT 15 COL1 FROM DUAL
    24  UNION
    25  SELECT 16 COL1 FROM DUAL
    26  UNION
    27  SELECT 23 COL1 FROM DUAL
    28  UNION
    29  SELECT 24 COL1 FROM DUAL
    30  )
    31  SELECT OUTPUT FROM
    32  (
    33  SELECT DECODE(COL3,NULL,COL1, COL2)  || '-' || LEAD(DECODE(COL3,NULL,COL3, COL1)) OVER (ORDER BY DECODE(COL3,NULL,COL1, COL2)) OUTPUT  FROM
    34  (
    35  SELECT COL1, LEAD(COL1) OVER (ORDER BY COL1) COL2, LAG(COL1) OVER (ORDER BY COL1) COL3 FROM T
    36  )
    37  WHERE
    38  (COL2 - COL1 > 1 OR COL2 IS NULL OR COL3 IS NULL)
    39  )
    40  WHERE OUTPUT != '-';
    OUTPUT                                                                         
    1-5                                                                            
    8-10                                                                           
    13-16                                                                          
    23-24

  • Help needed in writing query

    Hi,
    Could anyone help me in writing below query without syntax errors.
    I tried but no luck
    select xmlelement("g", XMLATTRIBUTES(g.contentgroup_id as "id",g.groupname as "label",
    (select xmlagg(xmlelement ("c",XMLATTRIBUTES(c.title as "title",c.content_id as "id")))) as "A"))
    as "A" from
    (SELECT g.contentgroup_id AS id, g.groupname AS label, c.title AS label, c.content_id AS id
    FROM content_ec c FULL OUTER JOIN contentgroup_ec g ON c.group_id = g.contentgroup_id
    oRDER BY g.groupname ,c.title ASC );
    Any help really appreciated.
    Thanks

    Few tips to get your question answered here
    1. Give your database version. Some thing that does not work in one version works fine in the next. And 8i,9i or 10g is not version. best way to give the version is to query your v$version table like this.
    SQL> select * from v$version where rownum = 1
      2  /
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod2. You should understand we don't have what you have, meaning you should provide your data structure and some sample data for us to help.
    3. "I got an error"... "Its not working"... and the list goes on. Sentences like this does not help. If you got a error past the entire error. If stuff does not work, tell us the details.
    4. Just don't throw some output and say i want it. Please explain to every one how you derive it.
    5. And the most important thing. Use \...\ tag to format. Please.. Please.. Please.. use it. It helps every one a lot. When you use it your SQL looks some thing like this.
    SELECT xmlelement("g", XMLATTRIBUTES(g.contentgroup_id as "id",g.groupname as "label",
         (select xmlagg(xmlelement ("c",XMLATTRIBUTES(c.title as "title",c.content_id as "id")))) as "A")) as "A"
       FROM (SELECT g.contentgroup_id AS id,
                 g.groupname AS label,
                 c.title AS label,
                 c.content_id AS id
            FROM content_ec c
            FULL OUTER JOIN contentgroup_ec g
              ON c.group_id = g.contentgroup_id
           ORDER BY g.groupname ,c.title ASC );6. And also do search this forum. Most of your my queries are answered by simple search.
    Thanks,
    Karthick.

  • Help needed in writing a function.

    I am using Oracle 11g and SQL plus. I am a complete newbie, so I need some help here in writing a function. I guess my question is more about writing the trigonometric functions within the function.
    latA, longA latB, longB // these are the four input parameters,
    theta = longA - longB
    distX = sin( latA * PI / 180) * sin ( latB * PI /180) + cos ( latA * PI/180) * cos ( latB * PI/180) * cos ( theta * PI / 180)
    distY = acos(distX) // this is arc cosine
    distZ = distY * 180 / PI // PI refers to the mathematical PI
    distP = distZ * 60 * 1.1515; // this value should be returned. Of course the intermediate variable names don't matter.
    Please help. Thanks.

    CREATE OR REPLACE FUNCTION fucntion_name(latA IN NUMBER, longA IN NUMBER, latB IN NUMBER, longB IN NUMBER) RETURN NUMBER
    IS
    pi      CONSTANT NUMBER:=3.14159;
    theta NUMBER;
    distX  NUMBER;
    distY  NUMBER;
    distZ  NUMBER;
    distP  NUMBER;
    BEGIN
    theta :=longA - longB;
    distX :=sin( latA * PI /180) * sin ( latB * PI /180) + cos ( latA * PI/180) * cos ( latB * PI/180) * cos ( theta * PI / 180);
    distY :=acos(distX); --this is arc cosine
    distZ :=distY * 180/PI;  --PI refers to the mathematical PI
    distP :=distZ * 60 * 1.1515; --this value should be returned. Of course the intermediate variable names don't matter.
    RETURN distP;
    END;Edited by: Ora on May 3, 2011 11:46 PM

  • Desperate help needed to configure WVC210 for remote access?

    Hi, I'm new and desperately need some help on setting up my WVC210 for remote access.
    I manage to setup and see images from my WVC210 using my home LAN via both wired and also wireless.
    I have 2 questions:
    (a) for wireless connection, i only manage to get connection to my WVC210 if i disable the wireless security from my router. But that means i'm opening my wireless LAN to everyone. How can i still get connection to the camera if i enable the wireless security from my router. (FYI: my router is 2Wire ADSL  from Singnet Mio)
    (b) how can i get connection to my WVC210 from outside or in my office? I type in the camera Fixed IP address (displayed on the front screen) on the web browser, by it shows a error page. Is there some setting that i might need to adjust ?
    Pls kindly help me
    Thank you.

    Bernard,
    For Item (2) is there any difference between the camera built-in dyndns updater versus the software updater? I am under the impression that the software updater is easier to manage.
    The biggest difference for you is that the camera always stays at the same location, and the laptop goes with you. Every time you access the internet from a different location with the laptop the software updater is sending the new IP address to dyndns.com. This causes you to lose access to your camera because the FQDN doesn't point to your home IP address anymore. Once the dyndns credentials are in the camera (or router) there is no management needed. The device will automatically update dyndns.com with your new IP address as it changes, and you do not need to do anything.
    For Item (3), are you saying port forward 1025 is it for the 2nd camera only or for both? Or is it 2nd camera use 1025 and first camera use 8080?
    Here's an example of what I mean:
    Camera 1: 192.168.1.210 port 1024. In router, forward port 1024 to 192.168.1.210
    Local Access: http://192.168.1.210:1024
    Remote Access: http://bernards210.dyndns.org:1024 (Example)
    Camera 2: 192.168.1.211 port 1025. In router, forward port 1025 to 192.168.1.211
    Local Access: http://192.168.1.211:1025
    Remote Access: http://bernards210.dyndns.org:1025 (Example)
    Camera 3: 192.168.1.212 port 1026. In router, forward port 1026 to 192.168.1.212
    Local Access: http://192.168.1.212:1026
    Remote Access: http://bernards210.dyndns.org:1026 (Example)
    to access the 2 camera outside, do i have to have another dyndns host name or can i use the current one for both camera?
    As you can see in the above example, the dyndns name remains the same for remote access to all three cameras. The only change is the port number at the end. Your router will translate the port number to the IP address that the port is forwarded to, allowing you to select the camera that you wish to view by changing the port number in the address.
    I was actually thinking that the camera web browser can show 2 camera at the same time. Is it possible?
    No. Each browser window will display a single camera. You can however opens multiple instances of your browser to allow viewing of more than one camera simultaneously. A better solution is to install the Video Monitoring Software that is included with the camera which allows you to view multiple cameras in the same window.

  • Guidelines for deciding directory structure for Swing Application

    Hi,
    We are developing a Swing Application for our organization. We want to organize the code and resources/icons/properties files in correct manner.
    We have guidelines for arranging the code for web application. Is there any such guidelines available for desktop application as well? What is the preferred location for keeping the icons and properties files?
    Regards,
    Manu

    Thanks Maran.
    I have already checked many installation guides before posting here. All of them mention about creating folders like /admin or /oradata on various mount points but none of the naming conventions really indicate whether it is a 8i database or a 10g database.
    This is required when you are having multiple Oracle installations under /opt and databases are running from different mount points.
    Regards,

  • Help Needed: Enable local currency for Customer Invoicing

    We are needing to enable local currency for customer invoicing on a project coming very soon.  Does anyone have any information on the best way to get this done and/or documentation to look over?  Any help would be greatly appreciated!!
    Thank You in Advance!
    Jay Esparza
    SAP Functional Consultant

    Hi
    Local currency automatically gets activated as you set your company code currency.
    No need to enable separately for customer invoicing
    Plz assign points if it is helpful.
    Regards
    Tapan

  • New look for swing applications

    Hi,
    I pretend to give diferent look to my swing applications, look like napkin , edding or some others that you guys may know,
    but how can i do it? i had read something about it, for example napkin is not working with netbeans anymore,
    do you guys know some other look that works?
    Thanks []

    Note: This thread was originally posted in the [New To Java|http://forums.sun.com/forum.jspa?forumID=54] forum, but moved to this forum for closer topic alignment.

  • Help Needed-Connection Url String for Oracle8i

    DriverManager.getConnection(Url , username ,password);
    In the above , I need the connection url for Oracle8i Database.
    Thanks..

    This works for me:
    jdbc:oracle:thin:@HOST:1521:INSTANCE
    Where HOST and INSTANCE represent the machine running oracle and DB instance. 1521 is the default port but may be changed.
    Mike

  • Urgent help needed on writing errors in to windows events application logs

    Hi all,
    we have web based application. Whenever there is critical errors encounters in our application we need to write that errors in to windows
    event viewer, application logs. Please help me on how to do this.
    do we have any specific API for this ?
    thanks in advance
    Shivakumar

    You should use WinAPI to do so. Asking in JNI forum (or specialized WinAPI forum) for more details is good idea I think.

  • Urgent help needed on writing errors in to windows application logs

    Hi all,
    we have web based application. Whenever there is critical errors encounters in our application we need to write that errors in to windows
    event viewer, application logs. Please help me on how to do this.
    do we have any specific API for this ?
    thanks in advance
    Shivakumar

    You should use WinAPI and followed functions: RegisterEventSource(), ReportEvent() and may be some more. It was some time ago as I deal with...

Maybe you are looking for

  • Error in creation of remittance of challan

    Dear Guru,      I need one help, when i am doing remittance of Challan, i am getting below attached file error, any body can help. Error is - "business place for document could not be determined" Please tell any solution it urgent, Regards, manas

  • Set/get variables with RSBBS from  query 1 to query 2

    Hi BW Experts, I created a sender/receiver assignment from query 1 to query 2 using RSBBS. For two characteristics I assigned the processing method by “Variable”. Process mode for these variables in the receiver query is by “customer exit”. But I don

  • Prereq query for Logical Standby runs for days

    Have had an SR open for a month that isn't getting anywhere, thought I'd check here and see if anybody has run into this. We're looking at setting up a logical standby database, Oracle 11.2.0.3 on AIX running PeopleSoft. There is a prereq query in th

  • Touch Screen Not Calibrated

    I am trying to set up my Palm TX and the touch screen is not calibrated correctly.  When I touch an icon on the right side of the screen, it looks as if I'm touching something on the left side of the screen.  This is very frustrating.  I've heard tha

  • Poor Quality after Capturing the 1080i Source

    I use the camera that the model is Sony HDR-HC3. When i capture the 1080i source recorded by above model, the source in Final Cut Express HD is very poor. The image will break in several shadow when the shot is presenting movement, as like pan left/r