Do you know a J2SE unique file name?

Hi,
We are using
Java2 Platform Standard Edition 1.4.2_02.
We have a quesiotion for the J2SE. Please reply.
[Question]
We want to know which is J2SE installed, or not installed on our PC.
And, we are planning to use a license management function of Composition Management Software ' QAW'.
Please teach us an unique file name including path on the J2SE installed pc that can use for install check.
Thank you.
yysnow

Hi,
Thank you for your reply.
We checked the java version.
java version "1.4.2_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03)
Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)
Thank you.
yysnow

Similar Messages

  • PDF form with one submit button that prints form and sanves PDF with data with a unique file name

    We have a long medical form that patients can fill out at kiosks as they wait to see a doctor. We want one button so that the patient can print out the form with one click (and finish filling it out by hand if it's not finished already) and the same button click will save the form with a unique file name (using last name, first name, date, and/or email address so that the identity of the person who filled out the form will be readily apparent to anyone who wants to grab the user's responses later). Is Acrobat capable of doing something like this? LiveCycle Designer maybe? And if we continue with the PDF form and add a submit button, is there a way to program the button click to print and to save?
    Thank you in advance of any suggestions that might accomplish this task.

    I am not sure about the print, but it can probably be done -- possibly with a bit of JavaScript. As to the saving of the form, that is not reasonable at a kiosk. You would want the data submitted to a server (particularly with patient data), no e-mail or accessible drive. You can collect the data and put it in a database or import it to the form for printing yourself.

  • Unique file name  - 6dk1632m3a06f9lh.xml

    If I
    Submit by Email from within Designer 8 - from the Preview Tab - the programme generates a unique file name, i.e. 6dk1632m3a06f9lh.xml(or XDP) yet when I
    Submit by Email directly from Reader it gives the xml file name the same name as the host PDF i.e. ThePDFFormName.xml. Now I would like to use the former because when I receive back the XML files, I'd prefer to save them locally and not have to rename or save them into a differing locations. Then at the end of the day I can batch them ready for a spreadsheet.

    To add to John's Question:
    Is there any way to programmatically set the file name to assume the name of one of the fields in the form?
    (I have worked out how to put a field name into the Subject line and body copy of the email)
    Zoe

  • How to create a unique file name each time the form is saved?

    I've got a form with several data items. When the user saves the form, it saves it as an .xml file. So far so good. But then I want the user to be able to start over and put in a new data set. I used the reset form button and this clears out the old data. But when the user goes to save the form for the second set of data, the default name of the .xml file is the same as the last record set. How do I get LCD to create a unique data name each time the form is saved? I know that the user can enter a new name, but I do not want them to have to think that much.
    Alternatively, is there a way that a user can enter several forms of data and save all of the data in one XML file that my PDF can scroll through or that I can import into excel and keep all of the data sets separate?

    Thanks Paul for the post. It sounds like this program is simply not designed for one user to keypunch a batch of forms. It would appear to limit the program's use to users who only need to key in one record/form. While a good solution for multiple users who need to enter just one set of data, the limitation would explain why this program is not widely used.

  • Unique file name to be decoded and to be updated in a table along with data

    Hi
    I'm working on a File to Proxy scenario, where the file names(10 chars length) are unique. These files will be available for XI in a source directory. My requirement is -- file name need to be decoded into 3 values and to be updated into a r/3 database table along with the file data.
    Hope my requirement is clear.
    Thanks.

    You cannot see the field which stores the file name. The file name comes from payload at runtime.
    Secondly no need to create any input parametes in your UDF, just edit your udf and delete the input parameter (default input is 'a') so that you don't have to map any constant to this UDF just map this UDF to target field.
    e.g. UDF ---> target Field.
    I did the same but am not able to activate the mapping.
    Mapping activation Error:
    Activation of the change list canceled Check result for Message Mapping hello_mapping | http://briks.com: 
    Mapping not sufficiently defined
    Chennai.

  • Unique file name for saving file on server.

    Hi
    I am having a servlet which will be used to save a file from client machine to server.
    Now, this servlet can be used with multiple users through web at same time.
    All user will be uploading files.
    There will be cases where 2 users from different location will upload files with same name.
    Thus, it is important for me that I append some string in uploaded file name, so that file name stands unique.
    How can I get this unique number.
    Is there no instance number for generated class !!.
    Thanks

    A few years ago I found this code on the Internet. I have forgotten where, but I'ven been using it since then and until now it always generate the unique number.
          * Generates unique ID based on timestamp, thread ID, random seed and random
          * double. Each part is converted to hexadecimal, padded left with zeros to
          * a length of 8 chars and then concatentated to each other.
          * @return Unique 32-char hexadecimal string.
         public static synchronized String getUniqueID() {
              final String pad = "0";
              final int padLength = 8;
              final int padDirection = StringX.PAD_LEFT;
              String timestamp = Integer.toHexString(Long.valueOf(System
                        .currentTimeMillis()).intValue());
              String threadHashCode = Integer.toHexString(Thread.currentThread()
                        .hashCode());
              String randomInt = Integer.toHexString(RANDOM.nextInt());
              String mathRandom = Integer.toHexString(new Double(Math.random()
                        * Integer.MAX_VALUE).intValue());
              // You may remove this try block if you want to increase performance by
              // 1ms.
              // But the generated ID might not be fully 100% guaranteed to be unique.
              // If you want to keep this block, then you can "almost" safely remove
              // the
              // randomInt and mathRandom parts of the UniqueID.
              try {
                   Thread.currentThread().join(1); // System.currentTimeMillis()++
              } catch (InterruptedException e) {
                   // Do nothing. However very, very, very rare. Haven't seen it
                   // earlier.
              return StringX.pad(timestamp, pad, padLength, padDirection)
                        + StringX.pad(threadHashCode, pad, padLength, padDirection)
                        + StringX.pad(randomInt, pad, padLength, padDirection)
                        + StringX.pad(mathRandom, pad, padLength, padDirection);
         }

  • Update File Naming For Better Support of Unique File Names

    The below feature requests are designed to allow lightroom to generate unique filenames for images from any number of cameras that all conform to the same naming convention and can be sorted chronologically by name both inside and outside of lightroom.
    The specific feature requests to allow this to happen are:
    1) Add a "centiseconds" field to the time strings that either uses those values from cameras that support it (like the Canon 5Dii). If a camera doesn't support this value, then lightroom should just pad the string with "00".
    2) Add an always on "conflict" counter that defaults to "1" for every image, but would increment as much as necessary to deal with sets of files that would otherwise have conflicting names. This would use the same logic as the conflict number that currently exists and adds "-2", for filenames that would otherwise be duplicates. The difference is that the new one would be applied 100% of the time instead of just when a duplicate is detected. It should also be possible to setup this number to have one or more leading zeros.
    To give an example of how this would work, I'll start with a set of example file names and demonstrate how lightroom currently handles them and then show a comparison of how they would work with the enhancements listed above.
    Say you are shooting an event with two different camera and have synced up the clocks on each so their timestamps match up. In the current (3.2) version of lightroom, you could use the pattern:
    img-{DateYYYYMMDD}-{Hour}{Minute}{Second}
    and end up with something like this
    img-20101207-201101.jpg
    img-20101207-202213.jpg
    img-20101207-202213-2.jpg
    img-20101207-202213-3.jpg
    img-20101207-203324.jpg
    img-20101207-203324-2.jpg
    Just adding the ability to have centi-seconds in cameras that support them (like the 5DmkII), you can eliminate a lot of the redundancy, but there will still be times when conflicts occur. Especially if you are using cameras that don't support that level of detail in the timestamp. So, if we add both the centi-seconds and the always on conflict number we can create this pattern:
    img-{DateYYYYMMDD}-{Hour}{Minute}{Second}{SubSec}-{0Conflict#}
    and we would end up with something more like this:
    img-20101207-20110143-01.jpg
    img-20101207-20221300-01.jpg
    img-20101207-20221300-02.jpg
    img-20101207-20221323-01.jpg
    img-20101207-20332426-01.jpg
    img-20101207-20332452-01.jpg
    Most of the duplicate names have been eliminated by the subsecond part of the tiem stamp, but all filenames have the exact same pattern, regardless. This makes scanning images by name much simpler. Especially if you need to run an external process that looks at file names over them.
    (Note: I'm use a number with a single leading zero padding in this case for the conflict number. It seems unlikely that a single digit would ever cease to be enough, but just in case having a zero padded version would be a nice option.)

    I would like to be able to rename a virtual copy and simultaneously make it be a true disk copy, and auto add to library.
    We have the virtual copy thing covered and it is one of the great  things that makes Lightroom a great application which
    has brought us new and amazing workflows.

  • You know that whole .desktop file security scare?

    It goes something like this:
    1) Open a malicious email attachment or go to a website with malicious javascript or whatever...
    2) A program is downloaded and executed with your permissions
    3) It edits ~/.local/applications/synaptic.desktop or whatever other popular program.
    4) In the new .desktop file it adds to the run command some nasty key logger, so now when you launch Synaptic (or pacman if someone were to attack Archers) it logs your keystrokes.
    5) Now it has your root password and can do whatever it wants.
    I just want to know: How likely is this, really??
    Can a website seriously just download and run a file without me knowing? I doubt Firefox would let that happen... Or could an email attachment be executed without me being able to read it first? I'm pretty sure it can't...
    I don't understand why people seem to be concerned about .desktop files...
    I'm not even worried about my Windows machine on my home network. My router is set to reject as much stuff as it can and all computers have remote log-ins disabled. The only security problem I worry about is that my Fiancee's online courses actually send .doc's through the net, which I've heard is bad practice.

    What I've read about it has a nasty tweak, a properly crafted .desktop file could launch a dialog asking for your/root password, at that time it wrecks havoc in the system and open the add/remove software, updates or whatever is it disguised to do and the user doesn't realize what just happened.
    Of course there is always the other option of running as user and do whatever it can, if the creator is smart and lucky enough he/she will be able to put a nasty payload on the autostart list and the user can have a zombie machine without even knowing.
    It doesn't need to break the system to do a lot of damage, wiping or stealing data from the user account is enough. Of course, this has a higher probability of happening if you run and/or install everything you find in untrusted places without proper review first.
    The thing is that there are so many distros and so many versions of each distro, each with slightly different settings, DEs, browsers and whatnot that I guess it still isn't worth the bother unlike with platforms where everyone uses the same browser, possibly the default settings that come with a clean system install and worse, no security updates/patches.
    Add to this the complete lack of good sense and the common (and somewhat accepted I guess) practice of using cracks and keygens for you know what and you start to understand how come at least some users keep getting the same problems over and over again.
    These days with linux it is extremely easy to keep the system up to date with the latest security fixes, users tend to look free alternatives to payed programs and look first in the package manager to see if it is already available, this alone helps a lot, add a dose of good sense and you should be good to go.

  • How do you dynamically set the flat file name

    Within my process flow I call a mapping. Within this mapping I have a flat file operator (which creates and writes to a .csv file). All working great.
    From this process flow I want to be able to pass a parameter to the mapping (which I can do), and use the value of this parameter as the file name of the .csv file. But I can’t seem to be able to dynamically set the ‘Default physical file name’ to this parameter value within the mapping.
    Does anyone have any ideas?
    Thanks
    Ansel

    Hi Ansel
    Check out the blog entry here;
    http://blogs.oracle.com/warehousebuilder/newsItems/viewFullItem$154
    You can use an expression.
    Cheers
    David

  • How to create a unique file name within a main()?

    I am creating a file using a button inside the main() .
    Each time the button is clicked, new file should be created.
    The file names should be distinct and differ in a number that follows the name for ex. MyFile1.txt, MyFile2.txt, MyFile3.txt and so on.
    Any ideas?
    thanks

    I think you want that last line to readwhile (f.exists())  // note the absent "!"since your loop as coded will end up with a filename that does exist rather than one that does not exist. You might also tryint counter=0;
    File f=null;
    do
      f=new File("myfile" + counter++);
      while (!f.createNewFile()) // This will only create a file if it doesn't already exist.
    Caution! You can't use the counter after you create the file because the counter will already be the next number. You can use f.getName(), or if you have a psychological need to use the counter, prefix the "++" and start with -1 (or just skip 0)
    Doug

  • Set unique file name for document library in SharePoint 2013

    Hi,
    I have document library in the sharepoint 2013 with two dropdown fields-dept name,dept id.
    My requirement is to create a namiing convention for each file uploded in the document library.
    So the naming convention should be "deptname-deptid-filename-Id".
    I tried this naming convention using workflow as below-
    In this case ,first I attach the file and then it asks for dept name & id,Whwn i input these value,it shows error message as this file is modified by you at this point of time.On cancel it saves the attached file but does not save the deptname and dept
    id.
    please help if any idea or suggestion.
    Thank you.

    The only way I've ever seen this work while adding a new file is to use an Event Reciever.  Build an Event 
    Receiver that fires whenever a file is added and have the code change the name of the file from whatever the user titled it to the naming convention you are using.  
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • How do you know what type of file is included in the 'Other' section?

    This is in regards to the capacity section in the summary tab of my ipod info. I have reached full capacity and cannot add any more songs to my ipod so would like to delete any unnecessary files. I have deleted all photos, most movies and TV shows. Only have a few movies and music videos in the Movies section.
    Is there any way of finding out which files are included in the orange 'Other' section? Help!

    My son is having this same problem. He only has 64 songs on his iPod Touch so far, but the "other" space has almost filled the iPod. He has no photos, other than the usual album artwork, no videos, notes, contacts, etc. and has erased all podcasts. We don't see "enable disk use" on the Summary page when he connects the iPod to iTunes. So we don't know if disk use has been enabled or not. I also can't find it in the Help topics. Where do we locate the disk option to see if it's turned on? He doesn't want to Restore as he will lose the upgrade and have to purchase it again. He uses a PC, if that makes a difference.
    Thanks for any insight.

  • Do you know Timmings for trace files generated?

    Hi,
    I have done some sql traceing using DBMS_MONITOR package.
    We can also enable SQL traceing using DBMS_SESSION.
    I want to generate sql trace file for "particuler part of application".
    When i did that i got some sql trace files,, now that "particuler part of application" was over application was idle..
    but as time goes these files are still populating in size means they are still sql traceing going on...
    My question is when and how trace files are generated?
    Do you have idea???
    Thanks and Regards,
    Rushang Kansara
    Message was edited by:
    Rush

    also what content of my sql trace file should i
    consider for exacly tracing that "particuler part of
    application".
    Rushang
    Parse Count To Execute Ratio
    Take the numbers of parse count and divide it by numbers of time execute count if it is 1 then it means you are parsing the same statment everytime,If this ratio is 1 then it will latch the shared SQL area which will degrade the overall performance.Like if you execute a query which is using bind variable and this query is at yours front end level trigger (Forms) POST_QUERY then it will show you (parse count=execute count) which shows you are parsing for every triggering event which is bad ,for that you should put this seqeuel within PL/SQL procedure which cache the cursor and will turn in (parse count<Execute Count).
    Large Diffrence Between Elasped Time And CPU Time
    If this diffrence (Elapsed time[b]-CPU time)>1 then it means you are spending yours time in for waiting resources this waiting resources will in turn wait events e.g some one updated the row and dont realease by COMMIT or ROLBACK and the same span of time you want to update then you will see a lock in tkprof result in wait event section.If you read the data from hard disk (as first time you issue it reads from HD and then put into buffer cache during this reading a latch is grabed and will not let you read this data until you perform the alls read from HD to buffer cache this will also show you in wait events which is cache buffers chain
    Fetch Calls
    If yours Fetch calls=Rows then it means you are not using Bulk fetch and yours this code will take a lot of roundtrips which will in turn jam the network.
    Disk Count
    If every time yours disk count=current + query mode then you are reading alls block from disk alls the time ,usually oracle read once from disk and put it into SGA and should be found in SGA second time.
    And there is many more...depend on yors environemnt setup but above are common.
    As you said its reproducing the tkprof again and again ,make sure you terminate the session or you explicitly turn off the tracer by
    ALTER SESSION SET SQL_TRACE=FALSE Khurram

  • Has anyone had a photo syncing problem sine the last iOS or iTunes update wher the sort order has been changed back to date order, when before the update you photos were synced in file name order??

    Syncing from pc to iPhoto imbedded in iPad... I spent hundreds of hours naming jpeg files/pics, and they were ordered properly ((per my naming, like 0001 bla bla.jpeg, 0002 blah blah.jpeg, etc.... They were syncing perfectly in order, until last SW update... Now, still in right order on pc, but last sync scrambled them all back to date order on iPad after sync... Any ideas?

    Thanks for your response. I thought there was something I wasn't doing right or something I was missing.
    Aperture and Mobileme syncing is really "hit or miss", unpredictable. Especially after a manual arrangement of the order of photos within an album. And selection of the "key photo" is also hit or miss. Sometimes it sticks. Sometimes it doesn't. Sometimes it sticks for a bit and then reverts back to the 1st photo of the album.
    It's ironic that one of Apple's motto is "it just works"! In this case, it really doesn't work!

  • Do you know how to import Tax Registrations for Supplier Hub

    Hi,
    Does anyone know how to import Tax Registrations for Supplier Hub? Which API/Interface can do that? The Oracle table is zx_registrations. We need to import Supplier information, include Tax Detail information.
    Anyone can help on this?
    Best Regards,
    Eileen

    Your English is fine, certainly a lot better than my anything else!
    If the lrcat file(s) really is/are gone then yes I'm afraid your edits probably are lost.  As you have surmised, the way LR works is to store a database of all the changes you have made to your raw files.  If you don't also save these changes to xmp side-cars and you lose the catalog then Lightroom cannot tell what edits you've done to your files.
    Check your recycle/trash bin for lrcat files and also, before you do any more work on the computer use some recovery software to look for the possibly deleted lrcat file.  Just Google for recovery and you should find many such software out there, some free.  They will search for files that have been deleted and it will help if you know part of the file name though you could just look for lrcat, or since deletion often means file name corruption just part of the file name.
    How did the lrcat file get lost/deleted?  I don't know, by accident?  Virus?  Each is possible.  This really does stress the importance of regularly backing up not just your raw files but also your Lightroom catalog.
    I wish you luck.

Maybe you are looking for