Including images in jar executable files. Using images in jar files.

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();
}

Uncaught error fetching image:
java.lang.NullPointerException
     at sun.awt.image.URLImageSource.getConnection(Unknown Source)
     at sun.awt.image.URLImageSource.getDecoder(Unknown Source)
     at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
     at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
     at sun.awt.image.ImageFetcher.run(Unknown Source)

Similar Messages

  • I am importing videos from my canon sl1 to my macbook when i use iphoto is says "iPhoto cannot import your photos because there was a problem downloading an image." and when i use image capture it says "An error occured while importing. The item 'MVI_1040

    I am importing videos from my canon sl1 to my macbook air when i use iphoto is says "iPhoto cannot import your photos because there was a problem downloading an image." and when i use image capture it says "An error occured while importing. The item ‘MVI_1040'' Thanks in advance

    Can you access the images on the phone with Image Capture (in the Applications Folder) ?

  • Read an avi file using "Read from binary file" vi

    My question is how to read an avi file using "Read from binary file" vi .
    My objective is to create a series of small avi files by using IMAQ AVI write frame with mpeg-4 codec of 2 second long (so 40 frames in each file with 20 fps ) and then send them one by one so as to create a stream of video. The image are grabbed from USB camera. If I read those frames using IMAQ AVI read frame then compression advantage would be lost so I want to read the whole file itself.
    I read the avi file using "Read from binary file" with unsigned 8 bit data format and then sent to remote end and save it and then display it, however it didnt work. I later found that if I read an image file using "Read from binary file" with unsigned 8 bit data format and save it in local computer itself , the format would be changed and it would be unrecognizable. Am I doing wrong by reading the file in unsined 8 bit integer format or should I have used any other data types.
    I am using Labview 8.5 and Labview vision development module and vision acquisition module 8.5
    Your help would be highly appreciated.
    Thank you.
    Solved!
    Go to Solution.
    Attachments:
    read avi file in other data format.JPG ‏26 KB

    Hello,
    Check out the (full) help message for "write to binary file"
    The "prepend array or string size" input defaults to true, so in your example the data written to the file will have array size information added at the beginning and your output file will be (four bytes) longer than your input file. Wire a False constant to "prepend array or string size" to prevent this happening.
    Rod.
    Message Edited by Rod on 10-14-2008 02:43 PM

  • Problem in Creating a jar file using java.util.jar and deploying in jboss 4

    Dear Techies,
    I am facing this peculiar problem. I am creating a jar file programmatically using java.util.jar api. The jar file is created but Jboss AS is unable to deploy this jar file. I have also tested that my created jar file contains the same files. When I create a jar file from the command using jar -cvf command, Jboss is able to deploy. I am sending the code , please review it and let me know the problem. I badly require your help. I am unable to proceeed in this regard. Please help me.
    package com.rrs.corona.solutionsacceleratorstudio.solutionadapter;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.util.jar.JarEntry;
    import java.util.jar.JarOutputStream;
    import java.util.jar.Manifest;
    import com.rrs.corona.solutionsacceleratorstudio.SASConstants;
    * @author Piku Mishra
    public class JarCreation
         * File object
         File file;
         * JarOutputStream object to create a jar file
         JarOutputStream jarOutput ;
         * File of the generated jar file
         String jarFileName = "rrs.jar";
         *To create a Manifest.mf file
         Manifest manifest = null;
         //Attributes atr = null;
         * Default Constructor to specify the path and
         * name of the jar file
         * @param destnPath of type String denoting the path of the generated jar file
         public JarCreation(String destnPath)
         {//This constructor initializes the destination path and file name of the jar file
              try
                   manifest = new Manifest();
                   jarOutput = new JarOutputStream(new FileOutputStream(destnPath+"/"+jarFileName),manifest);
              catch(Exception e)
                   e.printStackTrace();
         public JarCreation()
         * This method is used to obtain the list of files present in a
         * directory
         * @param path of type String specifying the path of directory containing the files
         * @return the list of files from a particular directory
         public File[] getFiles(String path)
         {//This method is used to obtain the list of files in a directory
              try
                   file = new File(path);
              catch(Exception e)
                   e.printStackTrace();
              return file.listFiles();
         * This method is used to create a jar file from a directory
         * @param path of type String specifying the directory to make jar
         public void createJar(String path)
         {//This method is used to create a jar file from
              // a directory. If the directory contains several nested directory
              //it will work.
              try
                   byte[] buff = new byte[2048];
                   File[] fileList = getFiles(path);
                   for(int i=0;i<fileList.length;i++)
                        if(fileList.isDirectory())
                             createJar(fileList[i].getAbsolutePath());//Recusive method to get the files
                        else
                             FileInputStream fin = new FileInputStream(fileList[i]);
                             String temp = fileList[i].getAbsolutePath();
                             String subTemp = temp.substring(temp.indexOf("bin")+4,temp.length());
    //                         System.out.println( subTemp+":"+fin.getChannel().size());
                             jarOutput.putNextEntry(new JarEntry(subTemp));
                             int len ;
                             while((len=fin.read(buff))>0)
                                  jarOutput.write(buff,0,len);
                             fin.close();
              catch( Exception e )
                   e.printStackTrace();
         * Method used to close the object for JarOutputStream
         public void close()
         {//This method is used to close the
              //JarOutputStream
              try
                   jarOutput.flush();
                   jarOutput.close();
              catch(Exception e)
                   e.printStackTrace();
         public static void main( String[] args )
              JarCreation jarCreate = new JarCreation("destnation path where jar file will be created /");
              jarCreate.createJar("put your source directory");
              jarCreate.close();

    Hi,
    I have gone through your code and the problem is that when you create jar it takes a complete path address (which is called using getAbsolutePath ) (when you extract you see the path; C:\..\...\..\ )
    You need to truncate this complete path and take only the path address where your files are stored and the problem must be solved.

  • Modifying JAR file using java.util.jar package  over the network

    Hello,
    I am modifying a JAR file programmatically using java.util.jar package. The time taken to save the contents to a local disk is very less (around 1 sec) . When I tried modifying the JAR from a remote machine over the network (from mapped drive or shared folder of WIN NT), the time taken to save is 15-20 times more.
    I am recreating the whole JAR while modifying. Is there any way to improve the performance. Or is it possible to write only the changed files?
    Thanks,
    Prasad Y S.

    When you "update" a jar file, you must always recreate it from scratch.

  • Rename files using text or excel file

    I am trying to find out how to rename files on my pc using the names stored in a text document
    eg. the file on the pc is called "C07_08.dat"
    the text file has the following line "3am Eternal         KLF         03:15 121 BMG         C07.08"
    i want to change the name of the file "C07_08.dat" to "3am Eternal.mpeg"
    What I would like is a batch file or program or something that will see the text "C07.08" and find the corresponding file "C07_08.dat" and rename it "3am Eternal.mpeg"
    I have managed to create a excel document that has the information in four separate columns
    Column A has the name of the file I want to use (ie. 3am Eternal) Column B & C have unneeded information and Column D has the file reference (ie. C07.08)
    I was told that Python or Visual basic could do this so I downloaded them but I have no experience with this so im lost as to what to do, I have over 1800 of these files so doing it file by file will take quite a while.
    I have included a sample of the text file for reference if that helps
    3am Eternal KLF 03:15 121 BMG C07.08
    4 In The Morning Gwen Stefani 04:22 092 UMA HD1.10
    4 Minutes Madonna ft J Timberlake 04:04 113 WAR HE3.05
    5 6 7 8 Steps 03:24 000 BMG C48.03
    5678 Steps 03:23 140 MUS H16.02
    6 Of 1 Thing Craig David 03:15 116 WAR HE2.11
    60 MPH New Order 03:51 125 WAR N57.11
    7 Days Craig David 04:30 084 SHO N41.16
    7 Things Miley Cyrus 03:29 107 EMI HE7.09
    99 Luft Balloons Nena 03:58 095 WAR C27.10
    99 Times Kate Voegele 03:27 112 UMA HG6.07
    A Girl Like You Edwyn Collins 03:47 126 MDS R06.08
    A Little Bit Pandora 03:35 132 UMA H23.01
    A Little Less Conversation Elvis VS JXL 03:02 115 BMG H68.03
    A Matter Of Trust Billy Joel 04:00 110 SON C59.11
    A New Day Has Come Celine Dion 04:20 092 SON H65.20
    A Woman Like You Mondo Rock 04:03 169 MUS R06.01
    About You Now Sugababes 03:32 083 UMA HD5.08
    Absolutely Everybody Vanessa Amorosi 03:52 124 TRA H40.06
    Absolutely Fabulous Pet Shop Boys 03:45 132 EMI C15.02
    Accidentally In Love Counting Crows 03:08 138 UMA H94.05
    According To You Orianthi 03:18 066 UMA HG4.12
    Achy Breaky Heart Billy Ray Cyrus 03:55 122 SON K11.02

    Here are two VBScripts that will rename the files based on the text file example you provided. The script that reads a
    TEXT FILE requires each entry to be separated by
    ONE TAB  because it is the
    TAB
    that it uses to split each line into 4 parts (part1 - old file name, part2 and part3 - items you don’t need, part 4 - new file name). If there is more that one tab then the Split Function will not work properly.
    The second VBScript will read the
    EXCEL FILE row by row and use the values in Column A for the old file name and
    Column D for the new file name. This approach will work much better if you have an excel document setup like this.
    I used your example that you provided and it test fine for both approaches.
    'Read text file
    Dim objFSO, objFolder, inFile, strInLine, strOldFile, strNewFile
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    'Select the folder
    Set objFolder = objFSO.GetFolder("C:\Scripts\MusicFiles")
    'Open Text File
    Set inFile = objFSO.OpenTextFile("C:\Scripts\MusicFiles.txt",1)
    Do Until inFile.AtEndOfStream
    'Read text file line by line and Split each line into 4 parts.
    strInLine = Split(inFile.ReadLine, vbTab)
    'Old File name
    strOldFile = strInLine(3)
    'new File name
    strNewFile = strInLine(0)
    'Loop through the files in the folder
    For Each File In objFolder.Files
    'If the file name matches the old file name above
    If File.Name = strOldFile & ".dat" Then
    'Replace it
    File.Name = strNewFile & ".mpeg"
    End If
    Next
    Loop
    'Close the text reader
    inFile.Close
    MsgBox "Done."
    'Read Excel file
    Dim objFSO, objExl, objFolder, objWorkbook, strOldFile, strNewFile, intRow
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objExl = CreateObject("Excel.Application")
    'Select the folder
    Set objFolder = objFSO.GetFolder("C:\Scripts\MusicFiles")
    'Open the Excel file
    Set objWorkbook = objExl.Workbooks.Open("C:\Scripts\MusicFiles.xls")
    'Start at row 1
    intRow = 1
    'Read each Row until the end
    Do Until objExl.Cells(intRow,1).Value = ""
    'Old file name is in column 4
    strOldFile = objExl.Cells(intRow, 4).Value
    'New file name is in column 1
    strNewFile = objExl.Cells(intRow, 1).Value
    'Loop through each file in the selected folder
    For Each File In objFolder.Files
    'If the file name matches the old file name above
    If File.Name = strOldFile & ".dat" Then
    'Replace it
    File.Name = strNewFile & ".mpeg"
    End If
    Next
    'Increment each row
    intRow = intRow + 1
    Loop
    'Close Excel
    objExl.Quit
    MsgBox "Done."
    v/r LikeToCode....Mark the best replies as answers.

  • Unzip file using PayloadZipBean in Sender FILE adapter

    I am trying to unzip a flat file in Sender FILE adapter using PayloadZipBean.
    I am getting mapping error. The problem is File adapter is reading data without unzipping. I am getting weird characters/data, so mapping error.
    I searched all the blogs/ forum threads and help.sap.com, everywhere the focus is on zipping, not unzipping.
    the file I have is with .gz extension, but I tried with .zip extension also.
    Please help in resolving this issue.
    Edited by: Gopal Janagama on May 2, 2008 11:42 PM

    Gopal,
    GZIP and ZIP format are slightly different, as stated here :
    "GZIP compresses only one file and does not have a header. ZIP contains header information about what files are contained in the file."
    So I'm not sure the PayloadZipBean supports GZIP format ... Try to ungzip and then zip its content and see if the bean works for it
    Rgds
    Chris

  • CS6 - does import DV files used with CS5.  File conversion is N.G.  Help!

    Trying to upgrade from CS5 to CS6.  Upgraded one NLE and found CS6 will not import DV files that were used with CS5.   Can't believe Adobe missed this one!  We create many DV files each day that can't be used with CS6.  Any sort of conversion would just add another unnecessary step.  Do I need to stay with CS5 or is there a fix?  Thanks.

    1st - More information needed for someone to help... please click below and provide the requested information
    -PPro Information FAQ http://forums.adobe.com/message/4200840
    2nd - exactly what is inside your video file?
    Codec & Format information, read both links in reply #1 http://forums.adobe.com/thread/1270588
    Report back with the codec details of your file, use the programs below... A screen shot works well to SHOW people what you are doing
    http://forums.adobe.com/thread/592070?tstart=30 for screen shot instructions
    Find file information for PC/Mac http://mediaarea.net/en/MediaInfo/Download

  • Extract Image in thrid-party System using Image Location

    Hi All,
    I am working in an Interface project. I need your help in one of the requirement.
    The data will flow from third-party system as an XML file and we are using Webservice to extract the data.
    The requirement is the third-party system will send the image location in the XML file and we need to extract the Image stored in the third-party system using that Image Location.
    Is this feasible and if so how?
    With Regards,
    Gurulakshmi

    Hi,
    No. We will store the image in Livelink(Third-party Storage Location) and attach that image against SAP Notifications which is created using T.code: IW21
    With Regards,
    Gurulakshmi

  • Executing methods using an input text file

    Hello all,
    I was just wondering if I could get a little help with giving the input commands to my program through a provided text file. I have already made a stack program and want to test it by feeding it a text file with commands in it. Here is an example of the text that it would contain:
    bluePush 100
    blueIsEmpty
    print
    bluePush 101
    bluePush 102
    bluePush 103
    blueSize
    bluePush 104
    print
    bluePop
    print
    redIsEmpty
    Etc..
    Problem is, I'm not really sure how to make my test file. I've never taken a text file as input before and once it's in, I'm not sure how to parse the commands.
    Any help would be greatly appreciated.
    Thanks,
    Tyler

    You would open the file like such:
      String fileName = "c:\path\to\file.txt";
      BufferedReader input = new BufferedReader(
                               new FileReader(fileName));You would create a loop to read the text, line by line, something like this:
      String line = null;
      while ((line = input.readLine()) != null){
        //... do processing here
      }Inside the while loop, you would parse the string into command and value pairs. Maybe look into StringTokenizer... Something like this:
        //inside while loop
        StringTokenizer parser = new StringTokanizer(line, " ");
        String command = parser.nextToken();
        String value = null;
        if (doesCommandHaveValue(command)) value = nextToken();
        //Determine course of action based on command
    //*** Then have the method doesCommandHaveValue...
    // Returns true if "Push" is found inside of command,
    // since it looks like only push statements have values after them
    private boolean doesCommandHaveValue(String command) {
      return (command.indexOf("Push") != -1);
    }Then mabe do a series of ifs based on command, to call different methods, using the value read in.

  • Update an AS400 file using jdbc jt400.jar

    Hi,
    Just i have created an browser application to see an AS400 file,also I have been followed the Developer book to update this file but ones I'm ready to update I'm getting this message
    Cannot commit changes: [SQL0204] OPENCUT99 in C104504M type *FILE not found
    someone can helpme with this issue

    When you said AS400 and file I assumed FileIO. Is
    this JDBC and are you taking about a Connection?
    Again is there a Java error? What is going on?As400 is my database BOX
    and I'm accessing a database in this box
    The error is a system message
    System Messages
    Cannot commit changes: [SQL0204] OPENCUT99 in C104504M type *FILE not found.
    I'm using this code to update this table
    public String up_action() {
    // TODO: Process the button click action. Return value is a navigation
    // case name where null will return to the same page.
    try {
    opencut99DataProvider.commitChanges();
    log("update: changes committed");
    info("Update committed");
    } catch(Exception e) {
    log("update: cannot commit changes ", e);
    error("Cannot commit changes: " + e.getMessage());
    return null;
    }

  • How can I keep my images from being deleted when using Image capture. Even when I do not check the box they still get deleted.

    This happened after I updated my operating system.

    Whats with the MBP lid? Dont close it ... if you're so concerned! Just go to System Preferences/Energy Saver and set it to how you like it.

  • Error while loading loading a xml file using a batchxmlloader.java file

    Hi All,
    I am trying to to load the data of an xml to the order management and configurations tables of 11i. While doing this i am using a java program batchxmlloader.java while executing it its giving me the errors as shown below. can anyone help me to remove these errors?
    java.lang.NoClassDefFoundError: javax/jms/JMSException
    at oracle.apps.fnd.wf.bes.ConnectionManager$1.run(ConnectionManager.jav)
    at oracle.apps.fnd.wf.bes.Utilities$1.run(Utilities.java:558)
    at java.lang.Thread.nextThreadNum(Unknown Source)
    Failed to establish Java Business Event System control connection: databaseId =n
    java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnv)
    at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:68)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at java.awt.Toolkit$2.run(Toolkit.java:512)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:503)
    at java.awt.Toolkit.getEventQueue(Toolkit.java:1176)
    at java.awt.EventQueue.invokeLater(EventQueue.java:511)
    at javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1091)
    at javax.swing.Timer.post(Timer.java:342)
    at javax.swing.TimerQueue.postExpiredTimers(TimerQueue.java, Compiled C)
    at javax.swing.TimerQueue.run(TimerQueue.java, Compiled Code)
    at java.lang.Thread.nextThreadNum(Unknown Source)
    Exception in thread "main" java.lang.UnsatisfiedLinkError: XstartUnsatisfiedRels
    at oracle.apps.cz.logic.Engine.modifyBOM(Engine.java, Compiled Code)
    at oracle.apps.cz.logic.LogicConfig.assertDefaults(LogicConfig.java, Co)
    at oracle.apps.cz.cio.Configuration$UnsatisfiedRulesIterator.<init>(Con)
    at oracle.apps.cz.cio.Configuration.addCompInstancesInOrder(Configurati)
    at oracle.apps.cz.cio.InstanceBase.hasUnsatisfiedRules(InstanceBase.jav)
    at oracle.apps.cz.cio.BomInstance.getSelectableChildren(BomInstance.jav)
    at oracle.apps.cz.cio.Configuration.saveInternal(Configuration.java, Co)
    at oracle.apps.cz.cio.Configuration.createRuntimeTree(Configuration.jav)
    at oracle.apps.cz.cio.xml.CzXmlConfiguration.<init>(CzXmlConfiguration.)
    at oracle.apps.cz.cio.xml.CzXmlLoaderEventListener.processDocumentEleme)
    at oracle.apps.util.dataload.xml.BatchXmlLoaderHandler.endElement(Batch)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingP)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidat)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidating)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java, Compiled Code)
    at oracle.apps.util.dataload.xml.BatchXmlLoader.log(BatchXmlLoader.java)
    at oracle.apps.util.dataload.xml.BatchXmlLoader.<init>(BatchXmlLoader.j)
    at oracle.apps.util.dataload.xml.BatchXmlLoader.initialise(BatchXmlLoad)
    Thanks in well advance.
    Regards,
    Sarang.A.Mehta

    I feel th entry in the property file is wrong....
    it should be name=abc.xml dont enclise in quotes...

  • How to open saved files using 'read from text file' function

    Hi everyone, I am having a hard time trying to solve the this particular problem ( probably because I am a newb to lanbview ). Anyway , I am able to save the acquired waveforms by using the 'Write to text file' icon. I did manually modify the block diagram of the 'Write to text file' icon and create the correct number of connector so as to make my program work. But now I have no idea on how to modify the block diagram of the 'Read from text file' block diagram to make my program 'open' my saved waveforms. Or i do not have to modify anything from the block diagram of the 'Read from text file'? Can anyone teach/help me connect up? Do i need the build array on the "open" page?
    Here are some screenshots on part of my program  
    let me know if you guys would need more information / screenshots thank you!
    Attachments:
    ss_save.jpg ‏94 KB
    ss_open.jpg ‏94 KB
    modified_writetotextfile.jpg ‏99 KB

    Ohmy, thanks altenbach. oh yeah i forgot about those sub VIs. will upload them now. Was rather demoralized after reading the comments and really struck me on how weak i'm at on labview really hope to get this done. But of course i have to study through and see how it works. Actually i am going to replace those 'signal generators sub vi' with ThoughtTechonology's sample code so i can obtain data waveforms real-time using Electrocardiography (ECG) ,Electromyography (EMG ) and Electroencephalography (EEG) hopefully i can find out how to connect the sample code.
    ( ps . cant connect it now unless my program is working otherwise labview will crash ) 
    ( p.s.s the encoder of my biofeedback trainer already acts as an DAQ so i wont need to place an DAQ assistant in my block diagram i suppose )
    The sample code of ThoughtTechnology is named as attachment.ashx.vi. too bad i cant use it and present it as my project
    Attachments:
    frequency detactor.vi ‏53 KB
    signal generator.vi ‏13 KB
    attachment.ashx.vi ‏40 KB

  • Can't Create PDF "from file" using any MS Office files

    Acrobat 8.1.1 Pro. (OS = XP), as part of the CS3 premium edition.
    I can no longer get Acrobat to recognize any of the MS Office applications extensions (.doc, .ppt, etc...) for use with either Create PDF "From File" or when using the Combine Files feature to Merge or Package. The extensions are no longer even listed as an option in the dialog box, or in the Preference settings under "Convert to PDF".
    FYI- I can still use the PDF Maker functionality from within the MS Office application to create a PDF.
    Any Idea what could have happened, or more importantly how to fix?
    ***Update***
    I have re-installed the Acrobat 8 application, and the problem still exists.
    I'm truly puzzled.

    I get this with my PC and I ran detect-repair and reinstalled. Some PDF's I can open and other's I cannot. I can send the email to a cohort and they can open fine.
    "Can't create file: Right-click the folder you want to create the file in and then click Properties on the shortcut menu to check your permissions for the folder"
    Any ideas would be great.
    Thanks!

  • How to generate .xsd file using jaxb generated java files

    Hi,
    We need to upgrade our applicatio to jdk1.6 which has jaxb2.0 class files in it. Our application has java files generated from .xsd using jaxb1.0.2 version. At present we dont have .xsd or .xml file with us.
    We decide to generate .xsd file by using jaxb1.0.2 generated java files. I tried using schemagen.exe given by jdk1.6 to generate .xsd file. It error out. Is there any other way to generate .xsd file ?
    pls let me know.
    thanks,
    Thiru

    Object-XML mapping is a new feature in JAXB 2.0. Classes generated with JAXB 1.0 won't generate a schema.
    Generate Java classes with JAXB 2.0 xjc.
    http://www.theregister.co.uk/2006/09/22/jaxb2_guide/

Maybe you are looking for

  • HT201272 Can't download any apps.  I have 2 itunes accounts, and happened to switch between them, now neither works.

    I can't download apps from appstore.  I have 2 itunes accounts and happened to have switched between them last night, now neither works.  Someone broke into my original account and racked up charges, Apple closed it for me and suggested I open a new

  • Checks after phase MAIN_SHDRUN/ACT_UPG were negative!

    Dear Guys, We are facing issue during the upgrade from 4.6c to ECC 6.0 EHP4 in pre-processing phase, Checks after phase MAIN_SHDRUN/ACT_UPG were negative! Last error code set: Detected 257 errors summarizes in 'ACTUPG.ELG' Check logfiles 'ACTUPG.ELG'

  • MS Project 7 Day Calendar

    Hello, I have an Oil and gas project whereby the offshore campaign will be a 7days a week work week. I have changed the default calendar to 7 days a week. However, when i set the task to the 7day calendar the duration of the working days is decreasin

  • Time Machine Loses All Previous Backups(!)

    Hi folks, If anyone can shed any light on this, I'd be eternally grateful. I had been using TM for some time to backup my personal documents and downloads. Until, that is, I got the 'There is not enough space...' error. "OK", I thought, "I'll do some

  • PDF icons blank

    Hi, im having issue with some of my icon showing nothing, blanks. I'm not sure who else has this issue or if anyone has resolved it. The  PDF opens up just fine some its just annoying. Im running windows 8.1 64bit operating system. thanks