Jdk standalone, distributed, embedded or anything else

Hi,
I have a software made in java and need to run on Windows XP, Vista and several Linux.
My problem : there is too much JAVA_HOME, and PATH problems cause people how setup my software have rock'n'roll system setup.
So i think about copy java.exe and some needed lib inside a directory near my app.
something like that :
\MySoftware
___|----------\MySoft
____________|-----------\bin (with mySoft.jar)
____________|-----------\...
___|-----------\VM
___________|------------\bin (with java.exe)
___________|------------\lib
___________|------------\...
The VM directory contains the java virtual machine and all java executable and lib needed.
I try to copy a jdk1.6.0_04 directory and try to execute java.exe but he return an error :
Error opening registry key 'Software\JavaSoft\Java
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.Is there a solution?
Thanks!
Edited by: grabriel on Mar 11, 2008 8:15 AM

baftos wrote:
This is not a work-around. It is used by commercial products and the whole procedure
is documented by Sun.
Here are, for instance, my reasons of doing this.
As part of a large Windows application installed by InstallShield, I have
a service inheritted from another application written in Java.
I don't want:
- To force the users to have a JRE or a specific JRE at all.
They simply don't know or care that there is a Java piece in my application.
- To retest this piece with all the JRE-s. It just works and I am happy.
Hard disk space is not a concern, as the rest of the application is pretty
large anyway.I wasn't specifically referring to you when I wrote that. And I had no idea (did I miss that piece? ... maybe) that this was NOT a java only app.
What I was referring to was what I thought I understood the OP as requesting; namely, simply to avoid bundling the jre, avoid setting classpath within the app, avoid jarring .. whatever. I think I probably got the wrong idea from what the OP wrote. So, since I must have misunderstood, OP, no, I have no ideas for you.

Similar Messages

  • Firefox TripAdvisor comes up on desktop. I can't get to anything else. How do I get rid of it.

    There are no details!!! When I click on my Mozilla Icon on desktop I get this miserable screen from TripAdvisor, whatever that is. I want it GONE. I can't get to my email or anything else. I'm not clever enough to know how to get rid of it. Why would Firefox do such a thing? I will be changing my browser. This is ridiculous!!

    Another thing you can do is open up Firefox, click on the Firefox button, then click on "Add-ons", then click on Extensions. It is possible there is a trip-advisor addon that you have installed that you can disable or remove.
    Also, click on Start, then control panel, then "Programs and Features". See if you have trip-advisor listed in there.
    A few other basic trouble shooting tips and good things to do to ensure you are getting the best performance are:
    Run all Windows Updates, install all needed service packs, etc.
    Update your graphics driver (Firefox uses your graphics card for some rendering, and an out of date graphics card driver can cause problems. [https://support.mozilla.org/en-US/kb/how-do-i-upgrade-my-graphics-drivers https://support.mozilla.org/en-US/kb/how-do-i-upgrade-my-graphics-drivers].
    Update all your plugins (Flash, Java, etc.): [http://www.mozilla.org/plugincheck/ http://www.mozilla.org/plugincheck/].
    Download and Install MalwareBytes Anti-Malware, run a full Scan. [http://www.malwarebytes.org/ http://www.malwarebytes.org/]. This helps check that there are no viruses on your computer causing issues. you can uninstall this program after you clean off any infections.

  • HT201210 i updated my 4s yesterday, but my phone will not work at all now, and will not turn off. It has a itunes image on the screen with an arrow undernieth and what looks like the charger lead. i've had it on charge! is there anything else i can do?

    i updated my 4s yesterday, but my phone will not work at all now, and will not turn off. It has a itunes image on the screen with an arrow underneath and what looks like the charger lead. i've had it on charge! is there anything else i can do?

    Cconnect it to your computer with the latest version of iTunes installed.

  • When I connect my iPhone (5s) to my computer it says that it's storage is full and that I have over 4,000 pictures even though I have deleted all of them. It won't allow me to add music or anything else either because it says my phone is full.

    When I connect my iPhone (5s) to my computer it says that it's storage is full and that I have over 4,000 pictures even though I have deleted all of them. It won't allow me to add music or anything else either because it says my phone is full. I have restarted my phone and the computer multiple times, but it still tells me that my phone is full.

    iPod touches or any iDevices from Apple sync only to one computer. If you sync to a different computer, all your music will be replace with the music from the new computer's iTunes. If the music were purchased from iTunes, you can re-download them again otherwise the music on iPod touch will be deleted. Do you have iTunes backup? 

  • Itunes let me buy a song, but now wont let me buy anything else. How do I delete the song from my billing receipt so I can start updating my apps again?? PLEASE HELP

    I had gotten a gift card with around $20 on it so I decided to buy some songs. I had bought a few, then I bought the last song, and now iTunes wont allow me to update my apps, or let me download any other apps because apparently I have $0 on my card; The weird part about that is it let me keep the song, but wont let me get anything else regardless of the charge. I don't have a credit card myself, so I'm really trying to avoid buying another gift card for one 99 cent song. Does anyone know how to get rid of a song from the billing receipt? I've tried everything!
    Thanks

    Purchases are considered final, but you can try the 'report a problem' link to contact iTunes Support and see if they will cancel the purchase : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/ contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • My apps won't download to my iPad but will to my phone. When I put it my password, it just stops and won't do anything else????

    My apps won't download to my iPad but will to my phone. When I put it my password, it just stops and won't do anything else????

    Unless you have a copy of the iPod backup file from the previous computer installation you are out of luck. If yo have that file move it to your computer and restore the iPod from that backup.  Otherwise, you will have to restore the iPod to factoery defaults/new iPod and lose all your app date. That is the way it is since the iPod sees the computer as a new computer/iTunes library.  That backup file is located:
    Mac: ~/Library/Application Support/MobileSync/Backup/
    Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    Windows Vista and Windows 7: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\

  • My 2012 Macbook Air wont turn on. SMC restart DOESN'T do ANYTHING. Is there anything else I can try?

    So my 2012 Macbook Air was working just fine until the next morning I open it up and nothing happens: the apple logo doesnt light up, screen doesnt turn on, no boot up noise...nothing. Tried pressing and holding the power buttton multiple times...nada. Tried doing an SMC restart multiple times (and trust me I did it correctly)...no dice. Sooo I was wondering if there was anything else I could try and if you guys had some hypothesis on why this happened. Otherwise I'll just take it to the apple store (but id rather avoid the drive and time out of my day). Thanks!!

    On a total black out with no SMC allowance, there is nothing to diagnose, no.
    Contact Apple for in shop full diagnosis and likely repair.

  • I have an iPhone 4S and it just locked me out from anything else BUT twitter??

    I was using Twitter and went to click my home button...all of a sudden the screen went black. And when I clicked the home button again, it didn't take me to my lock screen, but back to Twitter. I did this multiple times and the same thing kept happening. I was seriously locked on my twitter app. It was exceptionally weird because the Twitter app was functioning perfectly. I could do everything on the app, but I seriously for the life of me could not get out of it!! Also, at the top of my screen where the time should be, it was completely blank. But only the time was gone, not my battery life or signal or anything else. It would probably also help to say that I do not have the iOS 7 update and my lock button is broken (I need a new phone desperately lol). Anyway, I tried to pull up the multitasking screen, but that wouldn't work. I tried to lock the phone with my assistive touch and that didn't work either. I finally was able to pull up Siri and have it search for something random. By doing that, I was able to unlock my phone and it took me to Safari. From there, my phone started working fine again. Now I know I fixed my own problem, but I REALLY don't want that to happen again. Can anyone explain to me what the heck just happened to my phone??

    Hey AceDuece,
    First, I would start with the steps in the "Troubleshooting on an iPhone, iPad, or iPod touch" section in the following document:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Those are going to be pretty basic steps, but they're still worthwhile and I'd start there.
    If that doesn't resolve the issue, then you'll want to move on to this:
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Make sure you run through all the applicable steps to the very end. I know the articles say iTunes Store, but the troubleshooting steps still apply to the App Store issues you're encountering.
    Have a great day,
    Delgadoh

  • Since upgrading to 7.1 on my iphone 5C I try to open the phone icon to make a phone call and it tries to open then returns to the home screen.  I also cannot get anything else to open.  It will randomly reboot or just freeze.

    I just got my iphone 5C on Wednesday, I was slow to move my apps over because well I loved my iphone3.  Never had any problems!
    I finally moved my apps over last night and was prompted to upgrade to 7.1.  I upgraded, then received a voicemail, listened to part of the voicemail (the phone dropped the call) and went back to the main screen. 
    Then nothing worked. I try to open the phone icon and it tried to open but it returned to the main screen.  I tried opening anything else and nothing will work.  Not even the phone icon.  It also would not shut down. 
    I let it sit for twenty minutes and tried to turn it off.  Then ten minutes later it just rebooted itself.  Waited until it came back up and tried to open settings, photo, camera, phone nothing will open.
    I know the touch is still working because it is locked and it will allow me to unlock it every time.  So I guess something is working.
    Any suggestions?

    Finally got my phone to power off.  I was able to reset the phone and everything is now working.  I guess I just needed patience!

  • I am trying to hook my macbook pro to a projector, which has a VGA cable. I bought a VGA to HDMI adapter, but whenever I hook it up, the screen on my macbook just goes black and I can't make it do anything else or even show up on the projector.

    I am trying to hook my macbook pro to a projector, which has a VGA cable. I bought a VGA to HDMI adapter, but whenever I hook it up, the screen on my macbook just goes black and I can't make it do anything else or even show up on the projector.
    My laptop is still on; it just has a black screen that I can't get rid of without shutting down the computer by holding the power button.

    Hey there lynmrigg,
    It sounds like have an HDMI to VGA adapter connecting your MacBook Pro and your projector but the screen on your computer goes black and no image appears on the projector. I would use the troubleshooting in the following article to help resolve or isolate the issue here, named:
    Apple computers: Troubleshooting issues with video on internal or external displays
    Try unplugging the video adapter or cable and then plug it back in.
    If more than one video adapter is in use (or "daisy-chained"), troubleshoot by using only one adapter.
    Example: A mini DisplayPort to DVI adapter connected to a DVI to HDMI adapter is an unsupported configuration because there is a series of adapters in use.
    If available, try using a different display and or adapter (or use a different connector by using DVI instead of VGA, for instance).
    Reset the system
    You can reset the Mac's parameter RAM and SMC.
    Reset the resolution
    Start by resetting the Mac's parameter RAM. If the display does not come up, was previously set to an unsupported resolution, and still results in no video:
    Start up in Safe Mode.
    From the Apple () menu, choose System Preferences.
    Choose Displays from the View menu to open the preferences pane.
    Select any resolution and refresh rate that your display supports.
    Restart your computer.
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • I want to buy Apple TV for my grandchild so she can play videos and music from her Ipad on the family's big screen. Do I need anything else beside the Apple TV device. Also what is AirPlay? Is it an app, a service or a piece of hardware?

    I want to buy an Apple TV for my grandchild so she can play content from her Ipad on her family's big screen TV. She has cable WiFi in her home does she need anything else beside the Apple TV. Also what is AirPlay. Is it an app, a service or a seperate hardware from the Apple TV?

    Airplay is a wireless streaming protocol. It allows content to be pushed from the iPad through the Apple TV onto your connected HDTV.
    If she wants to see the iPad displayed on the big screen and/or play games that involves mirroring. As long as it's an iPad 2 (or later) then you will be fine. More info on both has been referened below
    http://support.apple.com/kb/HT4437?viewlocale=en_US&locale=en_US
    http://support.apple.com/kb/ht5209

  • I can't rent movies now, because I'm getting a message that I need to "go to the itunes store on my computer and verify my payment information. But it is all correct and I don't have any problems buying anything else but movies on Apple TV? What can I do?

    Apple can't seem to help me with this verification of payment information message that I'm getting when I try to rent a movie. My payment information is correct, and they don't have any issues billing me for anything else. What can I do?

    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • My wife and I both have the new iPhones.  Is there a way to set up two separate iCloud accounts but have photo stream from both phones sync with one family mac?  So we don't want to share contacts or anything else, just photos... Thanks in advance

    My wife and I both have the new iPhones.  Is there a way to set up two separate iCloud accounts but have photo stream from both phones sync with one family mac?  So, we don't want to share contacts or anything else, just photos... Thanks in advance

    If you turned off Contacts wouldnt that mean that the Contacts would no longer be backed up to iCloud as well? That would make it a pain when upgrading a phone to not easily pull contacts back down.

  • Can I use standard Quicktime or anything else?  (for making dvd's)

    Please forgive me if this issue has been discussed, but I didn't find any answers in my searching so here goes: How can I make a DVD that will play in TV set DVD players? Do I need any alternate programs or possibly an upgrade to Quicktime Pro?
    Heres the situation I have that way, with any luck, you'll understand what and I am trying to do (and hopefully tell me it's a rather easy process): I have a friend that has a bunch of skate videos available for download on his personal web page....turns out those downloads are .mgp and they play through Quicktime. Now what I want to do is take those said videos and make them into a DVD I can watch in any player. Is this possible with Quicktime, iDVD, or anything else that came standard with my new Macbook or do I need another program? Sorry, I'm a new Mac user.
    Thanks for the help I've already been given on ths site and the info I am sure to receive now. So far these discussion forums have been extremely helpful.

    Sorry I posted this in the wrong discussion forum.

  • Can I make a DVD using Quicktime or anything else in my arsenal?

    First off I apologize for m idiocracy in posting this in "Quicktime for Windows" before this as I simply was noy paying any attention, also, please forgive me what I am about to ask has been discussed, but I didn't find any answers in my searching so here goes: How can I make a DVD that will play in TV set DVD players? Do I need any alternate programs or possibly an upgrade to Quicktime Pro?
    Heres the situation I have that way, with any luck, you'll understand what and I am trying to do (and hopefully tell me it's a rather easy process): I have a friend that has a bunch of skate videos available for download on his personal web page....turns out those downloads are .mgp and they play through Quicktime. Now what I want to do is take those said videos and make them into a DVD I can watch in any player. Is this possible with Quicktime, iDVD, or anything else that came standard with my new Macbook or do I need another program? Sorry, I'm a new Mac user.
    Thanks for the help I've already been given on ths site and the info I am sure to receive now. So far these discussion forums have been extremely helpful.
    Message was edited by: p-squared

    If you have do do many then buy Toast 8 Titanium and use them directly in Toast and skip first making a QT version then turning around and making yet another version. Which avoid compressing the clips twice as well. MPEG-1 is a very low quality codec so I would not compress the clips once to QT and again to iDVD.
    Also iDVD is fussy and takes forever, Toast isn't and doesn't.

Maybe you are looking for

  • Change Page Size Equally

    I'm working on a book that is 130 pages. It needs to print regualry (offset) and also needs to print digitally at a slightly reduced size -- original size is 6.5 x 9.25 in. The digital size will be 6.125 x 9.25. I know how to change a page size, but

  • Cannot instance a object

    I have a problem. I cannot instance a object of my own class, anytime I try this my pc is hanging up it`s self. (The class is a little bit long for posting here and i do not have any idea were the mistake is.) Edited by: Michroe on Feb 2, 2009 7:34 A

  • No Inoice Varification for Service Purchase Order

    I want Service entrries to be generated for service purchase order but I don,t want Invoice Varification (MIRO) for that Purchase Order or Service Entry. Pl let us know how can I configure this. regards, Sanjay

  • ACS express v5.0.1 fail to join AD

    hi, i try to integrate my ADE 1010 appliances running on ACS express v5.0.1.1 to my DC running on window 2008 server enterprise edition SP2. as i fill in the info at domain configuration and test the connection, it's succeed. but once try to save and

  • IOncrease size of buffer pool and PGA

    Dear All, Currently my DB is on Automatic Memory Management, I want to increase the size of Buffer cache and PGA, so do I need to move the DB out of Automatic Memory Managemen and manually manage the memory? Please help Thanks