Create an ODBC using java without using the windows controll panel

Hi, does anyone know if its possible to set up an ODBC connection to a MySQL database using a java program, or do these things always have to be made using windows from the control panel?
This is so we can make our own install programs.
Thanks, Graham.

Heres the code Im using. I have a connection made in the ODBC control panel. SO do I need the connection I made....heres the code.
try{
     Class.forName("com.mysql.jdbc.Driver").newInstance();
} catch (InstantiationException ie){
} catch (ClassNotFoundException cnf){
} catch (IllegalAccessException iae){
//GET CONNECTED//
try {
     System.out.println("Connecting to database LMS001db");
     conn = DriverManager.getConnection("jdbc:mysql://localHost/lms001db");
} catch (SQLException sqle){
....isnt the bit where it says conn = DriverManager.getConnection("jdbc:mysql://localHost/lms001db");
connecting to a connection Ive made earlier from within control panel? or is it connecting to the dayabase directly.

Similar Messages

  • I can't get the iCloud Contacts and Calendar folders to appear in Outlook 2010 using the iCloud Control Panel.

    I can't get the iCloud Contacts and Calendar folders to appear in Outlook 2010 using the iCloud Control Panel.  Also the datafile share which ends in .aplzod is not created in Outlook.  The Contacts and Calendar are sent to iCloud (verified on iCloud.com) but the iCloud folders are not created in Outlook in the Contacts and Calendar navigation panes.   I get a message toward the end of the sync process indicating that there was an unspecified error.  I'm using the newest version of the iCloud Control Panel, the 32 bit version of Outlook 2010, Windows 7 64 bit, an iPhone 3GS, and the latest version of iTunes.  Any ideas how to complete the sync process to the end?

    Pretty much the same for me: Windows 7 64-bit, Outlook 2010, iCloud Control Panel 1.0.1, iPhone 3GS.  Error report at end of setup process is shown below, and has been emailed.  Any help please?
    Your setup couldn't be started because of an unexpected error.
    Error: 0x8004010F: ZebraBootstrap::ActivateDataFile: Could not create msgservice
    AppleOutlookDAVConfig version: 3.0.42.0
    Windows version (6.1.7601): Windows 7 Home Premium Edition Service Pack 1 (build 7601), 64-bit Local app data directory test: Pass Temp directory test: Pass Outlook version: 14 (14.0.6025.1000), x86 Outlook location (installed): C:\Program Files (x86)\Microsoft Office\Office14\OUTLOOK.EXE MAPI location: C:\Program Files (x86)\Common Files\SYSTEM\MSMAPI\1033\MSMAPI32.DLL
    MAPI logon succeeded
    Message Stores Table:
      Outlook Data File, 4E495441F9BFB80100AA0037D96E0000
      Outlook Data File, 4E495441F9BFB80100AA0037D96E0000
      Outlook Data File, 4E495441F9BFB80100AA0037D96E0000
    Contents of C:\Program Files (x86)\Common Files\SYSTEM\MSMAPI\1033\mapisvc.inf
    <Not found>
    Contents of C:\Windows\system32\mapisvc.inf
    [Services]
    MSFAX XP=Fax Mail Transport
    [Default Services]
    MSFAX XP=Fax Mail Transport
    [MSFAX XPP]
    PR_PROVIDER_DLL_NAME=FXSXP.DLL
    PR_RESOURCE_TYPE=MAPI_TRANSPORT_PROVIDER
    PR_RESOURCE_FLAGS=STATUS_NO_DEFAULT_STORE
    PR_DISPLAY_NAME=Fax Mail Transport
    PR_PROVIDER_DISPLAY=Fax Mail Transport
    [MSFAX XP]
    PR_DISPLAY_NAME=Fax Mail Transport
    Providers=MSFAX XPP
    PR_SERVICE_DLL_NAME=FXSXP.DLL
    PR_SERVICE_SUPPORT_FILES=FXSXP.DLL
    PR_SERVICE_ENTRY_NAME=ServiceEntry
    PR_RESOURCE_FLAGS=SERVICE_SINGLE_COPY|SERVICE_NO_PRIMARY_IDENTITY
    HKLM\Software\Microsoft\Office\14.0\Access\Access Connectivity Engine\ISAM Formats\Outlook 9.0 HKLM\Software\Microsoft\Office\14.0\Access Connectivity Engine\ISAM Formats\Outlook 9.0 HKLM\Software\Microsoft\Office\14.0\OneNote\Outlook Add-in
      Message Classes
    HKLM\Software\Microsoft\Office\14.0\Outlook
      Dataviz
      InstallRoot
      Namespaces
        {0006F017-0000-0000-C000-000000000046}
          FolderTypes
            {00067800-0000-0000-C000-000000000046}
            {00067801-0000-0000-C000-000000000046}
            {00067802-0000-0000-C000-000000000046}
            {00067803-0000-0000-C000-000000000046}
            {00067804-0000-0000-C000-000000000046}
            {00067808-0000-0000-C000-000000000046}
            {00067828-0000-0000-C000-000000000046}
            {00067829-0000-0000-C000-000000000046}
            {0006782A-0000-0000-C000-000000000046}
          ViewTypes
            {00062000-0000-0000-C000-000000000046}
            {00062001-0000-0000-C000-000000000046}
            {00062002-0000-0000-C000-000000000046}
            {00062003-0000-0000-C000-000000000046}
            {00062004-0000-0000-C000-000000000046}
        {0006F018-0000-0000-C000-000000000046}
          FolderTypes
            {00067820-0000-0000-C000-000000000046}
            {00067821-0000-0000-C000-000000000046}
            {00067822-0000-0000-C000-000000000046}
            {00067823-0000-0000-C000-000000000046}
          ViewTypes
            {00062000-0000-0000-C000-000000000046}
            {00062001-0000-0000-C000-000000000046}
            {00062002-0000-0000-C000-000000000046}
            {00062003-0000-0000-C000-000000000046}
            {00062004-0000-0000-C000-000000000046}
      Operations
        1ImportFile
        2ExportFile
        3ExportDataLink
        4ImportVCard
        5ImportAccounts
        6ImportVcalendar
        7ImportRss
        8ExportRss
        9ImportCFL
        ImportEudora
      SchedulingInformation
        FreeBusySupport
      SearchTypes
        {00067A00-0000-0000-C000-000000000046}
        {00067A01-0000-0000-C000-000000000046}
        {00067A02-0000-0000-C000-000000000046}
        {00067A03-0000-0000-C000-000000000046}
        {00067A04-0000-0000-C000-000000000046}
        {00067A08-0000-0000-C000-000000000046}
        {00067A10-0000-0000-C000-000000000046}
        {00067A11-0000-0000-C000-000000000046}
        {00067A20-0000-0000-C000-000000000046}
      Setup
      UpgradePath
    HKLM\Software\Microsoft\Office\14.0\User Settings\Access_Core\Create\Software\Microsoft\Office\Outlook
      Addins
        AccessAddin.DC
    HKLM\Software\Microsoft\Office\14.0\User Settings\Access_Core\Create\Software\Microsoft\Shared Tools\Outlook
      Journaling
        Microsoft Access
    HKLM\Software\Microsoft\Office\14.0\User Settings\Excel_Core\Create\Software\Microsoft\Shared Tools\Outlook
      Journaling
        Microsoft Excel
    HKLM\Software\Microsoft\Office\14.0\User Settings\Misc_SpsOutlookAddin\Create\Software\Microsoft\Office\Outlook
      Addins
        ColleagueImport.ColleagueImportAddin
    HKLM\Software\Microsoft\Office\14.0\User Settings\Outlook_AutoDiscover
      Create
        Software
          Microsoft
            Office
              14.0
                Outlook
                  AutoDiscover
    HKLM\Software\Microsoft\Office\14.0\User Settings\Outlook_Core
      Create
        Software
          Microsoft
            Internet Mail and News
              Mail
            MSDAIPP
            Shared Tools
              Outlook
                Journaling
                  Conversation
                  Document
                  E-mail Message
                  Fax
                  Letter
                  Meeting
                  Meeting Cancellation
                  Meeting Request
                  Meeting Response
                  Note
                  Phone Call
                  Remote Session
                  Task
                  Task Request
                  Task Response
            Web Service Providers
              FreeBusy
                office.microsoft.com
            Windows
              CurrentVersion
                Internet Settings
                  TemplatePolicies
                    High
                  Zones
                    4
    HKLM\Software\Microsoft\Office\14.0\User Settings\Outlook_Intl HKLM\Software\Microsoft\Office\14.0\User Settings\Outlook_SearshShellReg
      Create
        Software
          Microsoft
            Windows
              Shell
                Associations
                  UrlAssociations
                    mapi
                      UserChoice
    HKLM\Software\Microsoft\Office\14.0\User Settings\Outlook_SocialConnector HKLM\Software\Microsoft\Office\14.0\User Settings\Outlook_SocialProviderMOSS
    HKLM\Software\Microsoft\Office\14.0\User Settings\PowerPoint_Core\Create\Software\Microsoft\Shared Tools\Outlook
      Journaling
        Microsoft PowerPoint
    HKLM\Software\Microsoft\Office\14.0\User Settings\Word_Core\Create\Software\Microsoft\Shared Tools\Outlook
      Journaling
        Microsoft Word
    HKLM\Software\Microsoft\Office\8.0\Outlook
    HKLM\Software\Microsoft\Office\Delivery\SourceEngine\Downloads\{90140000-001A-04 09-0000-0000000FF1CE}-C\Resources\OutlookMUI.msi
    HKLM\Software\Microsoft\Office\Delivery\SourceEngine\Downloads\{90140000-001A-04 09-0000-0000000FF1CE}-C\Resources\OutlookMUI.xml
    HKLM\Software\Microsoft\Office\Outlook
      Addins
        Apple.DAV.Addin
        BCSAddin.Connect
        Groove.OutlookProxyAddIn
        Microsoft.VbaAddinForOutlook.1
        OneNote.OutlookAddin
        OscAddin.Connect
        OutlookChangeNotifier.Connect
        Search.OutlookToolbar
        UmOutlookAddin.FormRegionAddin
      AutoConfigDomains
        hotmail.*
        live.be
        LIVE.CA
        LIVE.CL
        LIVE.CN
        LIVE.CO.IN
        LIVE.CO.KR
        LIVE.CO.UK
        LIVE.CO.ZA
        LIVE.COM
        LIVE.COM.AR
        LIVE.COM.AU
        LIVE.COM.MX
        LIVE.COM.MY
        LIVE.COM.PE
        LIVE.COM.PK
        LIVE.COM.PT
        LIVE.COM.SG
        LIVE.COM.VE
        LIVE.DE
        LIVE.DK
        LIVE.FR
        LIVE.HK
        LIVE.IE
        live.in
        LIVE.IT
        LIVE.JP
        LIVE.MA
        LIVE.NL
        LIVE.NO
        LIVE.PH
        LIVE.RU
        LIVE.SE
        livemail.com.br
        msn.*
        msnhotmail.com
        tw.live.com
        windowslive.com
      FormRegions
        IPM.Note.Microsoft.Exchange.Fax.UM.CA
        IPM.Note.Microsoft.Exchange.Voice
        IPM.Note.Microsoft.Exchange.Voice.UM
        IPM.Note.Microsoft.Exchange.Voice.UM.CA
        IPM.Note.Microsoft.Fax.CA
        IPM.Note.Microsoft.Voicemail
        IPM.Note.Microsoft.Voicemail.UM
        IPM.Note.Microsoft.Voicemail.UM.CA
        IPM.Note.Rpmsg.Microsoft.Voicemail.UM
        IPM.Note.Rpmsg.Microsoft.Voicemail.UM.CA
      Outlook 10 Accounts
        Categories
          {ED475418-B0D6-11D2-8C3B-00104B2A6676}
          {ED475419-B0D6-11D2-8C3B-00104B2A6676}
          {ED475420-B0D6-11D2-8C3B-00104B2A6676}
        Types
          {4DB5CBF0-3B77-4852-BC8E-BB81908861F3}
          {ED475411-B0D6-11D2-8C3B-00104B2A6676}
          {ED475412-B0D6-11D2-8C3B-00104B2A6676}
          {ED475414-B0D6-11D2-8C3B-00104B2A6676}
      SocialConnector
        SocialProviders
          OscAddin.SharePointProvider
    HKCU\Software\Microsoft\Office\14.0\Common\HelpViewer\Applications\OUTLOOK
      AdditionalCollections
        0
        1033
    HKCU\Software\Microsoft\Office\14.0\Common\Migration\Outlook
    HKCU\Software\Microsoft\Office\14.0\Outlook
      Addins
      AutoDiscover
        RedirectServers
      Display Types
        Balloons
      Journal
      Message
      Office Explorer
      Options
        Calendar
        MSHTML
          International
        ToDoBar
      Perf
        RoamingStreamsCache
          6BF937902986EF42A5D2882B309351BF
      Preferences
      Resiliency
        DisabledItems
      Search
        Catalog
      Setup
      SQM
      Today
        Folders
      UserInfo
    HKCU\Software\Microsoft\Office\14.0\User Settings\Outlook_AutoDiscover HKCU\Software\Microsoft\Office\14.0\User Settings\Outlook_Core HKCU\Software\Microsoft\Office\14.0\User Settings\Outlook_Intl HKCU\Software\Microsoft\Office\14.0\User Settings\Outlook_SearshShellReg HKCU\Software\Microsoft\Office\14.0\User Settings\Outlook_SocialConnector HKCU\Software\Microsoft\Office\14.0\User Settings\Outlook_SocialProviderMOSS
    HKCU\Software\Microsoft\Office\8.0\Outlook
    HKCU\Software\Microsoft\Office\Outlook
      Addins
        AccessAddin.DC
        ColleagueImport.ColleagueImportAddin
        iTunesAddIn.CalendarHelper
      OMI Account Manager
      SocialConnector

  • How can I Use the iCloud Control Panel to pick a new folder

    I apparently moved or deleted my iCloud folder and keep getting this message Use the iCloud Control Panel to pick a new folder.  How do I do this?

    I have/had the same problem, just started this morning. I tried a system restore to a known good date. I still had the problem so I rolled restored the system to the latest.
    Thinking that it might have something to do with priviliges, I reviewed my user account and noticed it was set to "Administrator". On a whim, I switched my user account from administrator to "standard user" and I'll be... the issue dissapeared. I have no idea why. But I thought I'd pass it along.

  • HT3131 Why doesn't Apple mention using the Display control panel's "Arrange" feature to move the menu from the Macbook's display to the EXTERNAL display? THAT'S the real answer to make Clamshell mode work, but it's not mentioned in any Apple documentation

    After a recent OS update, Clamshell mode quit working. I couldn't find any Apple documentation
    that would help. So many people were stabbing around in the dark, until I finally found the following information
    that is lacking from any Apple documentation that I've been able to find.
    Here's what I found to be the most helpful:
    Forcing a MacBook to use the External Monitor:
    I tried about everything: Rebooting, switching off completely, removing and inserting the Thunderbolt->HDMI adapter etc.
    The only thing that finally worked was the following:
    1. Take it out of the dock and connect to Power and HDMI to the TV.
    Shut down the Mac. Turn it on and close the lid. It will now boot up on the external screen.
    Log onto the Mac, and put it in sleep mode (Option-Command-Eject).
    Put it back into the dock and wake it up with the spacebar.
    It should be OK now... until the next update...
    Note: One indication that you’re going to have extreme trouble with this is when (occasionally and without reason) the Mirroring Options icon shows up on the top icon bar.
    Other useful commands:
    “Command + F1” puts PC in Two-Screen MIRROR mode.
    If it’s REALLY being stubborn, do the following (Clamshell Must be open
    to see the arrangement tab.):
    In System Preferences > Display on the MacBook screen there should be an Arrangement tab when you have the MacBook hooked up to the TV and both screens working. When you click the Arrangement tab do you see two monitors side by side? One of them will have a Menu Bar at the top. Just click on the Menu Bar and drag it to the second monitor (Yes, I know, it’s hard to grab ahold of it...) That will make your EXTERNAL monitor your main screen.
    You can now use your MacBook in Clamshell Mode with a wired or Bluetooth keyboard and mouse.  http://support.apple.com/kb/HT3131 When you disconnect from the TV, make sure it’s asleep (Option+Command+Eject buttons) or your Menu Bar will automatically change back to the MacBook.

    After a recent OS update, Clamshell mode quit working. I couldn't find any Apple documentation
    that would help. So many people were stabbing around in the dark, until I finally found the following information
    that is lacking from any Apple documentation that I've been able to find.
    Here's what I found to be the most helpful:
    Forcing a MacBook to use the External Monitor:
    I tried about everything: Rebooting, switching off completely, removing and inserting the Thunderbolt->HDMI adapter etc.
    The only thing that finally worked was the following:
    1. Take it out of the dock and connect to Power and HDMI to the TV.
    Shut down the Mac. Turn it on and close the lid. It will now boot up on the external screen.
    Log onto the Mac, and put it in sleep mode (Option-Command-Eject).
    Put it back into the dock and wake it up with the spacebar.
    It should be OK now... until the next update...
    Note: One indication that you’re going to have extreme trouble with this is when (occasionally and without reason) the Mirroring Options icon shows up on the top icon bar.
    Other useful commands:
    “Command + F1” puts PC in Two-Screen MIRROR mode.
    If it’s REALLY being stubborn, do the following (Clamshell Must be open
    to see the arrangement tab.):
    In System Preferences > Display on the MacBook screen there should be an Arrangement tab when you have the MacBook hooked up to the TV and both screens working. When you click the Arrangement tab do you see two monitors side by side? One of them will have a Menu Bar at the top. Just click on the Menu Bar and drag it to the second monitor (Yes, I know, it’s hard to grab ahold of it...) That will make your EXTERNAL monitor your main screen.
    You can now use your MacBook in Clamshell Mode with a wired or Bluetooth keyboard and mouse.  http://support.apple.com/kb/HT3131 When you disconnect from the TV, make sure it’s asleep (Option+Command+Eject buttons) or your Menu Bar will automatically change back to the MacBook.

  • How: Using the same control panel for multiple vi and propogatin​g changes to the control panel.

    I have created a labview project that contains about 40 vi.  Each vi has a control panel in common that is a group of ip address, or port address, and settings that are passed from high level vi to low level vi for the purposes of controlling and accessing our daq cards.  As this control panel exist in all vi's and is required to be identical there is a problem when needing make a change or update the controls during development.  The problem is how much time it takes to go and change every single vi's control panel.  I wish to have a way of propogating a change in the control panel across all vi simultaneously.
    All control in the control panel are in a bundle, so all values are passed in 1 wire. 
    I tried turning the control panel into a sub vi, and this way I can just "create control" and have outputs of the vi maniuplate settings, however if I update the vi, I still have to go back and create a new control for each vi as the control has changed.
    I have tried using the subpanel and creating the control panel in a sub vi that is displayed in the subpanel, but this gives the unwanted consequence of not being able to view or change settings on the control panel if the program is not running, as subpanels blank out when the program is not running.
    Is there another way to dispaly a subvi's front panel beside using a sub panel?  Is there a better way to propogate changes in a bundle throughout a series of vi? 
    JW
    Solved!
    Go to Solution.
    Attachments:
    Labjack Comm Settings.vi ‏15 KB

    Yes a type def would help you out and I'd take the next step to make it a strict type def if you want the appearence to be the same across all of its instances. You can also review this Nugget on Type definitions for more idea on this topic.
    Have fun,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • HT4847 i am unable to sign into icloud on my windows 7 computer using the icloud control panel . keep on saying server error

    unable to sign into icloud account from my windows 7 pc. keep on getting the message serwr not available

    Hi,
    In the Finder use the Go Menu whilst holding down the ALT key.
    Select the Library that appears when you do this.
    Navigate to Containers/com.apple.soagent/Data/Library/Preferences
    You will notice that many of the items are Aliases (to the Originals in ~/Library/Preferences).
    But there are exceptions.
    Delete (Drag to Trash)  the com.apple.soagent.plist and com.apple.messageshelper.AccountInfoController.plist
    Restart the Mac (I have not worked out is SOAgent launches when the Mac does).
    Restart Messages.
    If this does not work navigate to ~/Library/Preferences
    In here find and Delete com.apple.ids.service.com.apple.madrid.plist
    This will need a Restart of the app.
    You will be asked Again for your Apple ID
    9:28 pm      Sunday; January 26, 2014
      iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • I need to reconfigur​e my network printer to a new ip address using the front control panel. how???

    Please help! The printer is a color laserjet 3800. The ip address will not reset when I plug it into the wall drop.

    Hi Dimon87,
    The code interface node is very rarely used and therefore there isn't a lot of documentation about it. Since you already have your code written, I would really recommend compiling your code into a DLL and call it using the Call Library Function Node. For your reference I am attaching a few links that talk about using the Call Library Function Node.
    http://zone.ni.com/reference/en-XX/help/371361D-01/glang/call_library_function/
    http://zone.ni.com/reference/en-XX/help/371361D-01/lvexcodeconcepts/configuring_the_clf_node/
    In addition please look in the example finder for an example called Call DLL.vi It gives a very extensive explanation about using this function.
    Eli S.
    National Instruments
    Applications Engineer

  • When I try to use the bootcamp control panel in Windows 7 to reboot into Windows 7, the computer reboots into MacOS

    Any ideas how to resolve this problem?

    I open the Boot Camp control panel in Windows 7 and select the the Boot Camp Windows disk. Next to the Restart button I see it tells me it will restart in Windows. When I click the button there is a dialog box that asks if I want to restart in Windows. I hit OK and it restarts in MacOS.
    Ever since I installed Windows 7 some years back this process has worked incorrectly. I waited, expecting Apple updates to Boot Camp would resolve the problem. Does anyone know a solution?

  • What happens if you delete the iCloud backup of an iOS device using the iCloud control panel on a Windows computer?

    ....

    Penelope,
    The issue is your iCloud email.  It seems that you use your mail frequently.  I strongly recommend you to look at the affordable rates that will suit you.  If I was you, I would select the 20gb plan that offers you 20gb + 5gb free storage that gives you a grand total of 25gb.  That will only cost you .99 cents a month, less than a Starbucks coffee.  Penelope, that will resolve your issue swiftly. 
    Below is iCloud pricing
    http://support.apple.com/en-us/HT201238
    Cheers,
    Wilkie

  • Is there a way to call the windows control panel with Java?

    Or any of the other panels like dial-up networking, add/remove programs, etc.

    To open the Display Properties window, use:
    RunTime.exec("rundll32.exe shell32.dll,Control_RunDLL c:\windows\system\desk.cpl");Look in your systems folder for all the files ending in ".cpl" and replace desk.cpl with that filename.

  • Exception trying to start the JRE Control Panel

    I've run into some persistent problem with seemingly any version of the JRE on my WinXP system. Whenever I try to start the control panel, either from the Windows Control Panel UI, or from the Java system tray icon, I get an exception error:
    java.lang.ArrayIndexOutOfBoundsException: 365
         at com.sun.deploy.panel.UpdatePanel.setText(Unknown Source)
         at com.sun.deploy.panel.UpdatePanel.actionPerformed(Unknown Source)
         at javax.swing.JComboBox.fireActionEvent(Unknown Source)
         at javax.swing.JComboBox.setSelectedItem(Unknown Source)
         at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
         at com.sun.deploy.panel.UpdatePanel.reset(Unknown Source)
         at com.sun.deploy.panel.UpdatePanel.<init>(Unknown Source)
         at com.sun.deploy.panel.ControlPanel.initComponents(Unknown Source)
         at com.sun.deploy.panel.ControlPanel.<init>(Unknown Source)
         at com.sun.deploy.panel.ControlPanel.main(Unknown Source)
    This is what happens on the first attempt after the OS has booted, and subsequent attempts just result in nothing obvious happening (no control panel, no error, nothing).
    I currently have JRE 1.6.0_07-b06 installed, but this seems to be happening with any JRE version I try. I had remnants of older JRE's under C:\Program Files\java, and I went through ensuring that each was removed (if I could get rid of it via Add/Remove Applications, I used that) until I was down to zero other than the MS JVM that is inherently part of Windows. I then installed the current Sun JRE and still have the problem. :-\ So not sure what it is the JRE control panel is trying to do here, nor how to fix it other than reinstalling the OS (and I'm not that desperate, but it really is annoying).
    I figure it's probably something still hanging around in the Registry (<shudder!>) and poking around under HKLM\SOFTWARE\JavaSoft, I see keys for various old versions under the \Java Plug-in, \Java Runtime Environment, and \Java Web Start keys, most of which look like references to directories or files which no longer exist on the system. Any thoughts as to whether I can just safely delete these keys as a sanity check (jeez I wish Sun had steered clear of the Registry)? What I'm wondering is since the JRE control panel (when it works :-) shows you a list of installed JREs it found, I'm wondering if these bogus versions listed in the Registry are causing the ArrayIndexOutOfBoundsException.
    Any ideas are greatly appreciated. Thanks in advance!

    start JRE control panel

  • How to create a partition using the free space of an existing[SOLVED]

    Hi Guys,
    Since I could not install fifa 09 using wine on linux, I need to create a partition where I can install windows first in order to install fifa 09 on it. How can I create a partition using the rest free space of my , for example, /home partition?How can I do it in a secure way (meaning without doing something to my existing archlinux installation files and system files) ?
    Thanks.
    Please see this post:
    https://bbs.archlinux.org/viewtopic.php?id=109402
    Last edited by Archie_Enthusiasm (2010-12-08 19:23:46)

    Use Parted Magic. But you *should* backup any important files just in case, regardless of method you use. You never know. Someone could unplug your computer, a power surge might happen, etc. A cousin of mine actually did something similar while I was gaming, the extension cord has a red button which he "accidentally" pressed. I would've cracked his skull had he done it while resizing a partition.
    Anyway, the partitioning scheme should be the first thing you do when you decide go this route (dual booting). I remember about a year ago I forced myself to use Linux by formatting the entire drive to ext4, except for the 2 GB + 20 GB ntfs partitions. It was what kick-started me on this path. Here's my partitioning scheme for both computers, maybe you'll get an idea and do something similar:
    Older computer:
    2 GB ntfs - MicroXP
    8 GB ext4 - Arch Linux + Home dir (to keep the dot files organized in one place)
    20 GB ntfs - games partition
    Rest is for media, formatted as ext3 with inode 128 (so it can be loaded as Read-Only in Windows too via Ext2fsd so they won't be affected in case of a virus infection)
    New computer:
    20 GB Windows 7
    10 GB Arch Linux + home dir
    50 GB games partition
    Rest of the space is ext4 mounted to /media
    Note that they're all primary partitions for remembering easier (sda1, sda2, sda3, sda4) instead of a combination of primary and extended which would probably look like sda1, sda5, sda6, sda7, etc.
    Last edited by DSpider (2010-12-03 13:02:26)

  • Help/Example needed for creating JMSQueues/JMSTopics using the MBean API

    I am trying to create JMSQueues programmatically using the MBean API. When
    I use MBeanHome.createAdminMBean(), a queue appears in the root of the
    config file. This is progress, but the queue is in the wrong place! I need
    the queues to be part of my JMS server's "destinations" as seen on the
    console.
    So now I am trying to use createConfigurationMBean() instead, but I can't
    figure out what the "parent" parameter should be- no documentation! My
    first guess was that the parent might be the JMSServer, but that doesn't
    work.
    Anyone have example code to insert JMSQueues and JMSTopics into a specific
    JMS server's destinations?
    Here is the code I tried... All goes well until the final
    createConfigurationMBean call, where it throws a MBeanCreationException:
    // Get the MBeanHome bean
    Object obj = jndiContext.lookup("weblogic.management.adminhome");
    MBeanHome mbeanhome = (MBeanHome) javax.rmi.PortableRemoteObject.narrow
    (obj, MBeanHome.class);
    // Get the server MBean
    JMSServerMBean jmsServerMB =
    (JMSServerMBean)mbeanhome.getMBean("examplesJMSServer",
    JMSServerMBean.class);
    // Create the new Queue
    JMSQueueMBean jmsQMB = (JMSQueueMBean)mbeanhome.createConfigurationMBean
    ("weblogic.examples.jms.fooQueue", "JMSQueue", jmsServerMB);

    Ok, I still don't see how I can do it differently with the admin tool. If
    you want to see the commands I'm using, I can post them, but the basic one
    is shown below in the previous message. We're trying to set up a script so
    that developers can just run it and properly configure WebLogic with the
    right components.
    Thanks,
    Michelle
    "Michelle Baxter" <[email protected]> wrote in message
    news:[email protected]...
    I am using the weblogic.Admin tool, not doing this in code. I will attempt
    to translate your advice when I get time again.
    My commands look like this:
    java weblogic.Admin -url 127.0.0.1:7001 -username system -passwordweblogic
    CREATE -mbean "mydomain:Type=JMSQueue,Name=MyJMSQueue"
    I create this, I create the JMSServer MBean, then do and INVOKE (insteadof
    CREATE) and call the addDestination method, adding the JMS Queue MBeanthat
    I created previously, using the same naming scheme as in the above CREATE.
    "Viresh Garg" <[email protected]> wrote in message
    news:[email protected]...
    Daron Cole wrote:
    You can use createConfigurationMBean with JMSQueueConfig but in the
    end
    I used
    the code below to create a topic.The code that you posted is the right way to create queus/topics. alwayscreate admin mbeans to admin
    server and let admin server internally create config Mbeans on the
    managed
    server as per the
    location/targets that you set in admin Mbeans.
    Queue's are the same, just replace the word
    Topic with Queue and it should work. It should show up in the console
    app.
    MBeanHome home = (MBeanHome)ctx.lookup(MBeanHome.JNDI_NAME+".myserver");
    ServerMBean myserver =(ServerMBean)home.getMBean("myserver",ServerMBean.class);
    String topicName = "MyNewTopic";
    JMSServerMBean jmsServerMB =(JMSServerMBean)home.getMBean("JMSServer","JMSServer","mydomain");
    JMSTopicMBean jmsTopicMB =(JMSTopicMBean)home.createAdminMBean(topicName,"JMSTopic","mydomain");
    jmsTopicMB.setJNDIName(topicName);
    jmsServerMB.addDestination(jmsTopicMB);
    Viresh Garg
    Principal Developer Relations Engineer
    BEA Systems
    "Michelle Baxter" <[email protected]> wrote:
    There is no JMSQueueConfigMBean. What do you mean?
    "Daron Cole" <[email protected]> wrote in message
    news:[email protected]...
    Try JMSQueueConfig instead of JMSQueue.
    "Michelle Baxter" <[email protected]> wrote:
    Me too! I'm trying to use the weblogic.Admin class to set up
    queues
    and
    topics and the JMS server. The same results in the config file:
    the
    queues
    and topic were set up at the root, the JMS server was added, but
    no
    destinations, even though I invoked the addDestination method withthe
    created MBean queues and topic as arguments. No exceptions, just
    no
    destinations on the JMS server resulted. What's the right order ofexecution
    for this stuff??
    Thanks,
    Michelle
    "Jude DeMeis" <[email protected]> wrote in message
    news:[email protected]...
    I am trying to create JMSQueues programmatically using the MBean
    API.
    When
    I use MBeanHome.createAdminMBean(), a queue appears in the root
    of
    the
    config file. This is progress, but the queue is in the wrong
    place!
    I
    need
    the queues to be part of my JMS server's "destinations" as seen
    on
    the
    console.
    So now I am trying to use createConfigurationMBean() instead,
    but
    I
    can't
    figure out what the "parent" parameter should be- no
    documentation!
    My
    first guess was that the parent might be the JMSServer, but that
    doesn't
    work.
    Anyone have example code to insert JMSQueues and JMSTopics intoa
    specific
    JMS server's destinations?
    Here is the code I tried... All goes well until the final
    createConfigurationMBean call, where it throws aMBeanCreationException:
    // Get the MBeanHome bean
    Object obj =
    jndiContext.lookup("weblogic.management.adminhome");
    MBeanHome mbeanhome = (MBeanHome)javax.rmi.PortableRemoteObject.narrow
    (obj, MBeanHome.class);
    // Get the server MBean
    JMSServerMBean jmsServerMB =
    (JMSServerMBean)mbeanhome.getMBean("examplesJMSServer",
    JMSServerMBean.class);
    // Create the new Queue
    JMSQueueMBean jmsQMB =(JMSQueueMBean)mbeanhome.createConfigurationMBean
    ("weblogic.examples.jms.fooQueue", "JMSQueue", jmsServerMB);

  • I am creating a video using the green screen option- I imported a picture for the background of the project and videotaped someone using a green screen. Is it possible to move the video of the person around so it is not blocking the picture behind it?

    I am creating a video using the green screen option in iMovie.   I imported a picture for the background of the project and videotaped someone using a green screen. Is it possible to move the video of the person around so it is not blocking the picture behind it?

    To enable this right you need Acrobat, not the free Reader.
    However, starting from Reader X it is possible to add simple markups to any file, unless it has been specifically disallowed by the creator of the file.

  • HT5071 Can I create a book using the IBooks Author word processing software, save it as a PDF, then have it professionally printed by an offset press to sale in brick and mortar stores? If so, is this procedure free me from any IBooks restrictions?

    Can I create a book using the IBooks Author word processing software, save it as a PDF, then have it professionally printed on an offset press to sale in brick and mortar stores? If so, is this procedure free from any IBooks restrictions?

    It's your content, under your control.
    If you output as an .ibooks file, and you want to sell it, the store is the only outlet, otherwise, you can do as you wish.

Maybe you are looking for