How to sequence java with App-v 5 SP1

I am having a hard time virtualizing java in app-v. I have packaged java as a middleware package and deployed it but how do I connect it with IE? Please any help?

http://packageology.com/tag/java/
Please remember to click "Mark as Answer" or "Vote as Helpful" on the post that answers your question (or click "Unmark as Answer" if a marked post does not actually
answer your question). This can be beneficial to other community members reading the thread.
This forum post is my own opinion and does not necessarily reflect the opinion or view of my employer, Microsoft, its employees, or other MVPs.
Twitter:
@stealthpuppy | Blog:
stealthpuppy.com |
The Definitive Guide to Delivering Microsoft Office with App-V

Similar Messages

  • How to connect java with oracle

    can any body show me the code of how to connect java with oracle database.
    thank you

    To configure Oracle JDBC:
    1. Add Oracle JDBC JAR file classes12.zip or ojdbc14.zip to classpath.
    2. Load and register the JDBC driver.
    Class.forName("oracle.jdbc.driver.OracleDriver");
    3. Obtain a connection:
    String url="jdbc:oracle:thin:@<host>:1521:<database>
    Connection con = DriverManager.getConnection(url,
    "myLogin", "myPassword");
    4. Create a SQL statement.
    Statement stmt = con.createStatement();
    5. Obtain a result set.
    ResultSet rs = stmt.executeQuery(
    "SELECT ...");

  • How to use Java with PL/SQL commands to send an email with attachment

    Apologizes in advance if this is the wrong place to ask the question.
    I need to use Java with PL/SQL commands to send an email with attachment. My java application runs from the command line and does some magic to gather info from an Oracle 11g db. If the DB has sendmail configured, I'd like to send the results of the data gathering as an attachment to the email addresses. I'm not sure how to do this. I've been reading up on on PL/SQL can send email with UTL_SMTP - with attachments. I'm just not sure how to translate that into being triggered by my Java application. Any suggestions or pointers on what I should read would be appreciated.
    Background - I've been programming in Java for 10+ years, but this is my first time using databases. I also have been on these forums for a long time, but lost my profile when it was switched to Oracle.
    Thanks for all help.

    user13726880 wrote:
    The original requirements were put together and given to me, an Oracle newbie. They expected the Java app to use something intrinsic to Oracle and Unix sendmail. To solve my problem, I use a JDBC connection to run some SQL commands. I take that data, format it and send the results by email to the user. By default the requirement is to send it as an HTML attachment using Unix 'sendmail'. So I do that using Runtime exec. I have also added JavaMail functionality as an alternative to sendmail. It works great and as expected.Sounds like a reasonable solution.
    Note however that PL/SQL itself can send email. And PL/SQL can call unix sendmail too.
    However myself I would have done it in java with JavaMail.

  • How to connect Java with Acces (DSN Less)

    Hi, I'm try to connect an Access DataBase in Java with an example. I find it in this forum, but don't work...
    I've my database in the folder Data, and its name is BaseDat.mdb...
    I'm working in NetBeans 5.5, and the DataBase is in the Folder: "C:/Documents and Settings/MetalTux/POOL/src/Data/BaseDat.MDB"...
    This way, its work, but It's another way to use this... without the "C:/Documents and Settings/MetalTux/POOL/src/"????
    Please help me... and sorry my english...
    Regards...

    I have this in my code:
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection conec = DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=C:/Documents and Settings/MetalTux/POOL/src/Data/BaseDat.MDB");
    This is OK... work in my code...
    But I want to know if there's another way to do this... without "C:/Documents and Settings/MetalTux/POOL/src" code....
    In Visual Basic I do this with "App.Path", but I don't know how I can do the same thing in Java...
    Please help me...

  • How to connect java with C

    Plz help....
    How to Connect a Java With C ....

    using the JNI, Java Native Interface. there are tons of tutorials on the web about it, that will explain far better and more completely than a few posts on a forum

  • How to connect java with database without any dsn.

    is there any way to connect java with database with out creating any dsn..like we do in ado in vb by providing provider.

    Sure use a type 4 driver. No DSN.

  • How to call java with public static void main(String[] args) throws by jsp?

    how do i call this from jsp? <%spServicelnd temp = new spServicelnd();%> does not work because the program has a main. can i make another 2nd.java to call this spServiceInd.java then call 2nd.java by jsp? if yes, how??? The code is found below...
    import java.net.MalformedURLException;
    import java.io.IOException;
    import com.openwave.wappush.*;
    public class spServiceInd
         private final static String ppgAddress = "http://devgate2.openwave.com:9002/pap";
         private final static String[] clientAddress = {"1089478279-49372_devgate2.openwave.com/[email protected]"};
    //     private final static String[] clientAddress = {"+639209063665/[email protected]"};
         private final static String SvcIndURI = "http://devgate2.openwave.com/cgi-bin/mailbox.cgi";
         private static void printResults(PushResponse pushResponse) throws WapPushException, MalformedURLException, IOException
              System.out.println("hello cze, I'm inside printResult");
              //Read the response to find out if the Push Submission succeded.
              //1001 = "Accepted for processing"
              if (pushResponse.getResultCode() == 1001)
                   try
                        String pushID = pushResponse.getPushID();
                        SimplePush sp = new SimplePush(new java.net.URL(ppgAddress), "SampleApp", "/sampleapp");
                        StatusQueryResponse queryResponse = sp.queryStatus(pushID, null);
                        StatusQueryResult queryResult = queryResponse.getResult(0);
                        System.out.println("Message status: " + queryResult.getMessageState());
                   catch (WapPushException exception)
                        System.out.println("*** ERROR - WapPushException (" + exception.getMessage() + ")");
                   catch (MalformedURLException exception)
                        System.out.println("*** ERROR - MalformedURLException (" + exception.getMessage() + ")");
                   catch (IOException exception)
                        System.out.println("*** ERROR - IOException (" + exception.getMessage() + ")");
              else
                   System.out.println("Message failed");
                   System.out.println(pushResponse.getResultCode());
         }//printResults
         public void SubmitMsg() throws WapPushException, IOException
              System.out.println("hello cze, I'm inside SubmitMsg");          
              try
                   System.out.println("hello cze, I'm inside SubmitMsg (inside Try)");                         
                   //Instantiate a SimplePush object passing in the PPG URL,
                   //product name, and PushID suffix, which ensures that the
                   //PushID is unique.
                   SimplePush sp = new SimplePush(new java.net.URL(ppgAddress), "SampleApp", "/sampleapp");
                   //Send the Service Indication.
                   PushResponse response = sp.pushServiceIndication(clientAddress, "You have a pending Report/Request. Please logIn to IRMS", SvcIndURI, ServiceIndicationAction.signalHigh);
                   //Print the response from the PPG.
                   printResults(response);
              }//try
              catch (WapPushException exception)
                   System.out.println("*** ERROR - WapPushException (" + exception.getMessage() + ")");
              catch (IOException exception)
                   System.out.println("*** ERROR - IOException (" + exception.getMessage() + ")");
         }//SubmitMsg()
         public static void main(String[] args) throws WapPushException, IOException
              System.out.println("hello cze, I'm inside main");
              spServiceInd spsi = new spServiceInd();
              spsi.SubmitMsg();
         }//main
    }//class spServiceInd

    In general, classes with main method should be called from command prompt (that's the reason for main method). Remove the main method, put the class in a package and import the apckage in your jsp (java classes should not be in the location as jsps).
    When you import the package in jsp, then you can instantiate the class and use any of it's methods or call the statis methods directly:
    <%
    spServiceInd spsi = new spServiceInd();
    spsi.SubmitMsg();
    %>

  • How make installer java with mySQL database

    How do I create a java installer for windows, because I have a project that uses mySQL database.
    Anyone please help me....

    If you have eg. a desktop application which needs a database, but don't have/ need a database server, which is accessed by several instances of the application (which seems to be the case, otherwise you wouldn't want to install it along with the application), consider an embedded database such as Apache Derby/ Java DB.
    Then all you need is to ship some jars and make sure they are on the classpath.
    If you're using JPA and generate the DB schema, then switching DB vendors should be quite easy. Just reconfigure your persistence.xml.

  • How to sync iPad with apps for 1st time to iTunes?

    Hi -
    Can't find the answer to this question directly, hence posting it here.
    My nephew's iPad has many apps , and photos, and he has never synced it to iTunes. He want's me to help him. I'm reasonably familiar with both iPad and iTunes.
    However - I'm worried that when he connects to iTunes for the 1st time he will have the iPad wiped clean by the empty iTunes session.
    I have searched high and low but can't find a reassuring set of steps to follow.
    Hence I would be very grateful to anyone who can point to complete, thorough online instructions, or offer them yourself, on what _precisely_ I must do to get his iPad synced to a new iTunes session for the very first time, without loosing the iPad content.
    We need to upgrade the OS badly (its the OS released from the shop purchase).
    thanks, for what is probably a question asked with a thoursand variations.
    Kind regards,
    Kevin Nolan,
    Dublin, Ireland.
    PS: Apple - if you readt this - iTunes and syncing is a very tricky to handle, with potential dire consequences if you do it wrong even once. At a minimum, please offer greater felxibility and more detailed tutorials across various troubleshooting scenarios such as mine

    Thank you both for your time and responses
    roaminggnome - my nephew was 10 when he got it and his family are not particularly computer savy. It didn't occur to them that syncing was such a priority. Thanks for the pointer to Apple feedback - I'll post my suggestion to them (I'm sure they've received it many times before!)
    Demo - that other thread looks absolutley excellent and your detailed instructions there look spot on - thank you.
    Thanks to you both again - genuinely appreciated.
    Cheers,
    Kevin.

  • Applications Adapter: How to integrate BPEL with Apps?

    Hi all,
    I am trying to integrate a BPEL Process with Oracle Applications. Can anyone share some ideas/documents/references for this.
    Thanks!!

    I assume you are talking about Oracle Ebusiness. You can call from BPEL the EBusiness webservices directly or use the BPEL Apps adapter.
    http://www.oracle.com/technology/pub/articles/bpel_cookbook/pravin.html
    http://www.oracle.com/technology/products/integration/adapters/dev_support.html

  • Empty app screen? How to fill screens with apps?

    HI-
    I used to have 4 pages of apps. After the 3.0 update I have 5 and my second app screen, which used to be full of apps, now only has one app. I know an app was added but this shouldn't have happened.
    So - how do I "back-fill" the screens so that there are no gaps? Like it used to be. For example, how do I move apps from screen 3 to screen 2?
    Thanks,
    J2

    Page 25 of the manual:
    " Customizing the Home Screen
    You can customize the layout of icons on the Home screen—including the Dock
    icons along the bottom of the screen. If you want, arrange them over multiple
    Home screens.
    Rearrange icons:
    1 Touch and hold any Home screen icon until the icons begin to wiggle.
    2 Arrange the icons by dragging them.
    3 Press the Home button to save your arrangement.
    You can also add links to your favorite webpages on the Home screen. See “Web
    Clips” on page 71.
    Create additional Home screens: While arranging icons, drag an icon to the right
    edge of the screen until a new screen appears. You can flick to return to the original
    screen and drag more icons to the new screen. "
    http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf

  • How can connect java with 3D Max

    i want to make 3d maze by reading from text file
    for example when i read 0, then i draw wall
    when i read 1 i draw path ..and so on
    and i want to move the object in the maze by using AI techniques
    my questions are:
    - can I read from file and draw by using 3D Max and program the
    object moving using java, if yes, how can i connect the java and 3D Max
    if there are any resoures, or any other silution may help me
    please tell me about it

    I've found two loaders to load 3ds files, so if you export your models from 3ds max that should work.
    http://www.starfireresearch.com/services/java3d/inspector3ds.html
    http://sourceforge.net/projects/java3dsloader/
    //My hyperlink option doesn't work today
    Hope it helps.
    //Considerate

  • How to fix problems with apps that need access to Apple servers?

    I have problems with Apple apps that connects to Apple servers (App Store, iTunes Store, Apple Support pages on Safari).
    They are very slow or even not responding like iTunes Store with blank pages.
    Please help.

    There have been other threads on this and it seems that some members have reported that resetting your Macs PRAM has fixed it for them.
    Reset your computer’s PRAM: http://support.apple.com/kb/PH14222

  • Oracle Client 11g R2 sequencing issue with App-V 5.0

    Hi All,
    Can anyone help on a issue that I face while I try to create the ODBC connection after I have published the sequenced application. I get the error message as shown :
    Have already tried sequencing by creating the Dummy ODBC user DSN and system DSN on the base machine  before sequencing and have added the TNSNames.ora path as an environment variable.
    Thank in advance for your help!Installation of 32 bit and 64 bit 11.2.0.1 Oracle client on windows 7

    Akanksha,
    If your application is 64-bit, you need only 64-bit Oracle client software which installs 64-bit ODBC.
    There is no need to install 32-bit Oracle client.
    I am suspecting that some of the required components are missing from your installation.
    1)Are you able to connect to the Database using the the sql*plus ?
    (You need to open the sql*plus session from the machine where ODBC application is running)
    2) Try to run the application as administrator user and see whether it helps.
    3)What is the type of client installation which you performed ? (Administrator/Runtime/Custom)
    If it is custom type, might be you are missing some components.
    Try to install as Administrator and see whether it helps.
    Regards,
    Ravi   

  • Sequencing Java

    Hi all
    I googled how to sequence java using app-v 5 however its a rather confusing as one article will talk about how to use the deployment. properties file another will talk about using power shell to use only the current version of java in the bubble still other
    articles are confusing.
    Being a beginner at this does anyone have a simple guide to sequence appv ? do I choose the plugin option in the sequencer ? or run the normal process ?
    Thanks

    Java is a beast but a guide is available here:
    Sequencing Java – The Definitive Guide Part 1  - Follow the steps in chapter "Sequencing Recipe For Java Runtime"
    Also read:
    Sequencing Java – The Definitive Guide Part 2
    Sequencing Java – The Definitive Guide
    Part 3

Maybe you are looking for