How to install jdom in NetBeans

hi,
I use netbeans as my IDE and need to use jdom. At the moment it says the package doesn't exist. Can someone please tell me how to install it.
Thanks

for netbeans features (code completion, reference checking) to work properly the JDOM jars need to be in the classpath of the application you are building.
So download Xerces2 or find it in an app that uses it (tomcat or ANT for example) and then add the necessary jars to the libraries of your application. Check the xerces2 documentation to know what jars.
http://xerces.apache.org/xerces2-j/

Similar Messages

  • How to install struct2 in netbeans and eclipse

    how to install struct2 in netbeans and eclipse

    Hi ganesh_delhi1980,
    It's Struts 2 and not struct2.
    You may verify what version of Struts is already installed on your IDE, you may also download and install packages :
    - NetBeans : Tools > Plugins
    - Eclipse : Help > Software updates...

  • How to Install the Downloaded NetBeans(*.nbm) Modules for Sun Java Studio

    Dear All,
    I have downloaded NetBeans Modules files with Extension *.nbm, and they are not getting installed, when I double click on them, or if I go through the Update Center and Select the Downloaded Modules even then also they are not getting installed, so please tell me the procedure how to install them.
    mahesh.

    It would be helpful to know which version of Java SE you are using, what NetBeans modules are you attemping to install, and any pertinent error messages that arise when you try to install the modules. As Jin_B pointed out, check the system/ide.log file in your .jstudio directory for possible error messages.

  • How to install JDK6 and Netbeans 6 in a non-global zone?

    Hi,
    I have a Solaris system where I want to deploy separate containers for several developers.
    I'm having difficulty in installing JDK 6 and Netbeans 6, I get lots of missing package errors in non-global zone.
    What would be the best approach for installing jdk 6 + netbeans 6 seperately for each developer?
    Thanks in advance.

    Hi
    It depends how you have created your zone, what has been inherited from the global:
    inherit-pkg-dir:
    dir: /lib
    inherit-pkg-dir:
    dir: /platform
    inherit-pkg-dir:
    dir: /sbin
    inherit-pkg-dir:
    dir: /usr
    But if you only want a jdk and netbeans, there is no really dependencies the simplest approach si to download the not packaged version and put it in /opt which is not inherited
    You just have to put a jdk in /opt/jdk1.6.0... and netbeans in /opt/netbeans-6.0..
    Don't really understand why you want a separate zone, one zone, several accounts which share the same jdk and netbeans, that's the way unix work ;)

  • How to install Java3d into netbeans 6.5

    I recently downloaded the Java 3D file : j3d-1_5_2-xxxxxx but I don't really know how to "install" it. I looked and found a thing on how to insall it on netbeans but the place they are telling me to go to doesn't exist. I am using netbeans 6.5 and supposedly you are supposed to install the J3D.nbm or something into netbeans but i can't find that inside of my downloaded folder. Is there something I did wrong i.e. downloaded the wrong thing, are looking in the wrong place, are missing somthing please tell me.
    Thanks
    Thimbletack

    Just posting an update. I found that a place that says you need to go here to download the module for netbeans to install it:
    http://java3d.netbeans.org/
    but that doesn't reallys show how to install java 3d or anything, it doesn't even have a download button for the module. I got that information here:
    http://java3d.j3d.org/faq/editors.html
    but i really just don't know how to install this thing. Can anyone help?

  • How to install the jms bundle with netbeans IDE

    hello friends,
    i am feeling a lots of problem since i am having the package of jms but don't know how to install it with NetBeans 3.6 IDE. i am unable to mount it on the j2sdk1.4_02 . please tell me how to install it, so that i can use this using netbeans ide.

    hi
    send me the bundle or tip me on how to get it.
    I have j2sdk1.4.2_03 and NetBean 4.1. I can try it out with you.
    though, I am using the jsmsengine from sourceforge.org, java activation framework and java communication API.
    when I get the gsm device, I'll be more resourceful or what do yoy use

  • How to install and use certificates on client?

    Hello everyone, and first of all sorry for my poor, italian-accented english.
    I have some questions about SSL and certificates. I'm developing a java desktop application, which should connect to a https server, authenticate with a previously downloaded certificate and then gain access. Some specs: I work on a Windows Xp Pro machine with Netbeans 6.1 and jdk 1.6.0_07.
    Now, I'm using HttpUnit libraries to connect the first time, login with basic authentication and download the certificate, but after i get it I'm not sure how to install the certificate (using java, it has to be an automated procedure) on the client machine and then how to use it to connect to the server. I've tried to use the code I've found here and after using it I can see the certificate inside Control Panel > Java > Securiy > Certificates > System, but I'm not sure I'm installing it in the correct way and/or in the correct path.
    Everytime I try to connect to the server I get back a HTTP 403 forbidden exception. Does someone know any tutorials/howtos/example codes to suggest to me? Or could tell me what's the right installation procedure using java? Any help would be very appreciated.
    Thanks in advance
    K.

    After banging my head on my keyboard for a lot of hours, I've got it!
    I was trying to install a *.pfx certificate, and that was bad. I tried to convert it in *.p12 or *.cer but that workaround didn't work. Finally I've found a small code to use a *.pfx certificate without installing it and... it works! No more 403 errors now, I can get that damn page. :)
    Here is the class I've used (I've found it somewhere googling around but I've lost the link, sorry. Anyway, I've modified it a little)
    import java.io.BufferedReader;
    import java.io.FileInputStream;
    import java.io.InputStreamReader;
    import java.net.*;
    import java.security.KeyStore;
    import javax.net.*;
    import javax.net.ssl.*;
    public class ConnectWithPfx {
       static final int HTTPS_PORT = 443;
       public static void main(String argv[]) throws Exception {
          // Get a Socket factory
          SocketFactory factory = SSLSocketFactory.getDefault();
          SSLSocketFactory socketFactory = null;
          try {
                KeyStore keyStoreKeys;
                KeyManagerFactory keyMgrFactory;
                SSLContext sslContext;
                keyStoreKeys = KeyStore.getInstance("PKCS12");               
                keyStoreKeys.load(new FileInputStream("mycertificate.pfx"),"certpassword".toCharArray());
                keyMgrFactory = KeyManagerFactory.getInstance("SunX509");
                keyMgrFactory.init(keyStoreKeys, "certpassword".toCharArray());
                sslContext = SSLContext.getInstance("SSL");
                sslContext.init(keyMgrFactory.getKeyManagers(), null, null);
                socketFactory = sslContext.getSocketFactory();
                Socket socket2 = factory.createSocket("www.my.host", HTTPS_PORT);
          } catch (Exception e) {
                e.printStackTrace();
            URL url = new URL("https://www.my.host/mypage");      
            // Open a HTTP connection to the URL assigning the SocketFactory we created before
            HttpsURLConnection conn = null;
            conn.setDefaultSSLSocketFactory(socketFactory);
            conn = (HttpsURLConnection) url.openConnection();              
            // Allow Inputs
            conn.setDoInput(true);
            // Allow Outputs
            conn.setDoOutput(true);
            // Don't use a cached copy.
            conn.setUseCaches(false);
            conn.setRequestProperty("Connection", "Keep-Alive");
            BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
            String line;
            String response = "";
            while ((line = in.readLine()) != null) {
                response += line+"\n";
            System.out.println(response);
    }Hope this could be useful for someone else. Thanks to everyone who read or replied to my thread. :)

  • How to install j2ee?

    Hi! i am a novice user. I want to learn j2ee but i don't know how to download j2ee and also how to install j2ee in my windows platform. I have 4og hard disks, 128 ram and 2.0g processor(p4) pc. so please help me.

    http://java.sun.com/javaee/downloads/index.jsp
    This is the J2EE download page.
    You can download J2EE only
    OR with Sun App Server which you can deploy your J2EE application.
    OR with Netbeans IDE which help you develop your J2EE application.
    If you don't want to do tones of setting,
    I recommend you download the bundle which contains J2EE SDK + Sun App Server + Netbeans IDE.

  • How to install NetBeans6.5 in Solaris

    Hi All,
    I am new to the forum and this is my first question. I have installed NetBeans 6.5 in windows system. But my source code is in Solaris can be accessed using clearCase vobs.I have two questions to ask:-
    1. How to install NetBeans 6.5 in Solaris
    2. How to access source code from clearCase vobs to NetBeans
    Hope to get a proper solution from the forum as this is urgent.
    Thanks in advance,

    Sorry, a first generation iPod Touch can not be upgraded beyond 3.1.3.

  • HOW TO EMBED J2ME INTO NETBEAN?

    I CANT USE J2ME WHEN IM IN NETBEANS .HOW DO I INSTALL J2ME INSIDE NETBEANS?

    U can set up netbeans mobility pack at this link
    http://www.netbeans.org/products/mobility/
    then U can found when U create new project at netbeans
    Mobile application
    yours
    Mohammed Thabet
    4th year-FCI-Helwan Univ -Cairo-Egypt

  • How to Install Coldfusion 8 64-bit on Small Business Server 2008 64-bit

    How to Install Coldfusion 8 64-bit on Small Business Server 2008 64-bit
    I ran Coldfusion 8 on SBS 2003 Premium for 6 months with no problems.  When we finally decided to cut over to SBS 2008, that’s when everything went to hell.  I tried for weeks to get Coldfusion 8 to install properly on the new SBS 2008 64-bit box.  During the course which, I found bits and pieces of information for Vista 64-bit and Windows Server 2008 64-bit installations.  There are some distinct differences, however, with SBS 2008 since it runs core Web applications like OWA, RWW and Companyweb.  After countless unsuccessful attempts, one of which completed corrupted the box, I found the solution.
    I have attempted in this white paper to detail the steps to assist others who may be in a similar situation.  I don’t make any warranty for the information, but so long as you follow the steps carefully you should be fine.  BTW, for those of you who say Adobe offers free technical support for licensed users, that’s not entirely true.  Like I said, I purchased CF8 and originally installed it on an SBS 2003 Premium box.  After we cut over to SBS 2008 and encountered problems, Adobe wouldn’t provide any technical support without charging.  Moreover, based on my initial conversations with Adobe’s technical team, no one seemed to know much about running 64-bit on SBS.
    From my understanding, only two versions of Coldfusion 8 can be installed in 64-bit: Enterprise and Developer.  The “normal” install (which I paid a grand for) can only be deployed in 32-bit mode – gee, THANKS Adobe!  By the way, in Developer mode only two distinct IPs can access the site in addition to the localhost.  Any additional IPs will result in a CFML error message stating that the maximum number of IPs have been exceeded.  At any rate, take your time and follow the steps to achieve a successful installation. 
    PRE-INSTALLATION TASKS
    Back Up SBS
    It’s always a good practice to backup your server before deploying any kind of major system changes.  Although this step is optional, I recommend it in case you need to restore your server for any reason.  Bear in mind, if your system ever gets totally corrupted, you cannot restore back from the twice daily incremental backup images alone.  You will need a full backup with system recovery information to restore.  Here are the basic steps:
    Click: Start > Programs > Administrative Tools.  Right-click “Windows Server Backup” and choose “Run as administrator”.
    Click “Backup Once” under Actions in the right-hand pane.
    Choose the “Different Options” radio button under Backup Options.
    Choose the “Custom” radio button.  What we’re primarily interested in here is backing up the OS – not your data partitions or attached drives.
    Select the “SYSTEM (C)” checkbox, uncheck any others.  Also, ensure that the “Enable system recovery” checkbox is selected before continuing on.
    Under ‘Specify Destination Type’, I usually select the “Local drives” radio button and point it to a Terrabyte USB drive I use for backups.  You can point this to a tape drive, or select the “Remote shared folder” radio button if you map to a UNC path to store your backup images.  Just remember, make sure that whatever path you select can readily be accessed in the event of an emergency.  Also, make sure the “Verify after writing (recommended)” checkbox is selected.
    Under ‘Specified Advanced Option’, I usually select the “VSS full backup” radio button instead of the default since I don’t use a 3rd party backup product.  If like me you rely solely on SBS for your backups, choose the full backup option.
    Confirm everything and click “Backup”.  This process may take several hours depending on the size of your system.
    Verify ISAPI Filters:
    In IIS Manager, double-click the server instance in the left-hand pane.
    In the center pane under IIS, double click the “Modules” icon to verify that the ISAPI native modules are already installed for IIS.  If it’s set up correctly you should see two entries:
    IsapiFilterModule              %windir%\System32\inetsrv\filter.dll
    IsapiModule                        %windir%\System32\inetsrv\isapi.dll
    If either of these modules are missing, you will need to re-install these (google for a solution).
    Set Up Development Environment
    Create a directory for your CFML files outside of the default Windows location (e.g., default is usually C:\inetpub\wwwroot\).  For the purpose of our install, I created a directory on a separate disk called: D:\DEV.
    Copy and paste your CFML files and directories into the new DEV root Web directory.  This will eventually be the directory where the Coldfusion installer places the CFIDE and CFDOCS folders. 
    Open IIS Manager and double-click the server instance in the left hand pane.  Expand the “Sites” folder.  Right-click the Sites folder and select “Add Web Site”.
    Enter a name in the “Site Name” box (e.g., “test-site”).  You will notice that the system will automatically create a corresponding Application Pool with the same name.  NOTE: this is important to prevent conflicts between the DefaultAppPool (needed for SBS Web apps like OWA, RWW, etc.) and the application pool needed for Coldfusion to function properly in SBS 2008.
    Point the “Physical Path” to the directory you created in step #1 above (e.g., “D:\DEV”).
    Don’t worry about testing the connection.  If you click “Test Settings” you may receive a warning that IIS cannot verify access to path (D:\DEV).  Don’t worry about this for the time being.
    Under “Host name”, enter a DNS path to your site (e.g., “dev.test-site.com”).  Click “OK”.
    Configure Application Pools for Installation
    In IIS Manager, double-click the server instance in the left-hand pane.  Click on “Application Pools” to display the list of server application pools in the center pane.
    In the “Actions” pane on the right-hand side, click “Set Application Pool Defaults”.
    Change “Enable 32-Bit Applications” - the second item from the top – from “False” to “True”, and then click “OK”.  NOTE: if you skip this step, Coldfusion will not properly create the required mappings during the install. We will change this setting back after the installation completes – more on this later.
    Modify the application.host.config File for 64-Bitness
    Click: Start > Programs > Accessories.  Right-click “Notepad” and choose “Run as administrator”.
    Open the config file from within Notepad – default location: C:\Windows\System32\inetsrv\config\applicationHost.config
    Do a search and change this one line from:
    <add name="PasswordExpiryModule" image="C:\Windows\system32\RpcProxy\RpcProxy.dll" />
    To this:
    <add name="PasswordExpiryModule" image="C:\Windows\system32\RpcProxy\RpcProxy.dll" preCondition="bitness64" />
    Restart the IIS Admin service.
    Set HTTP Compression
    According to some threads I read, the http compression module can cause errors if you don’t disable it globally. To remedy this, perform the following:
    Click: Start > Programs > Accessories.  Right-click “Command Prompt” and choose “Run as administrator”.
    At the command prompt, change directory to intetsrv by typing: cd inetsrv
    Run the following command:
    C:\Windows\system32\inetsrv>appcmd.exe set config -section:system.webServer/httpCompression /-[name='xpress']
    This will turn off HTTP compression for all sites in IIS.
    In IIS Manager, double-click the server instance in the left-hand pane.  Double-click the “Compression” icon in the IIS section of the center pane.
    Uncheck all of the boxes, then click the “Apply” button under Actions in the right-hand pane.
    Recheck all of the boxes, then click the “Apply” button under Actions in the right-hand pane.
    Restart the IIS Admin service.  This should enable compression and coldfusion to work at the same time.
    NOTE: if for some reason you need to reverse this, run the following command from the command prompt:
    C:\Windows\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /+[name='xpress',doStaticCompression='false',dll='%windir%\system32\inetsrv\suscomp.dll']
    INSTALLATION TASKS
    Download the 64-bit installation package from Adobe – filename: coldfusion-801-wind64.exe.
    Right-click the file and select “Run as administrator”.
    Accept the terms of the License Agreement.
    If you have an Enterprise license, enter it.  For our purposes, just click the “Developer Edition” checkbox.
    Select “Server configuration” – the default radio button.
    I deselected all subcomponents and can’t guarantee that you’ll arrive at the same results if you select additional items like “.NET Integrated Services”.  It should be fine, particularly if you install documentation.  My preference was to keep the install as plain vanilla as possible.
    Select the directory path for Coldfusion to install into – default is :C\Coldfusion
    THE NEXT TWO STEPS ARE CRITICAL TO YOUR SUCCESS.  Unselect “All IIS Websites” and select the “Configure specific IIS Website or another web server” radio button.  Click “Add”, and then select your test Web site (e.g., “test-site”) under “IIS Web Site”.  Hit “OK”.
    Do NOT use the default directory path for the CF Administrator location (e.g., default path: “C:\inetpub\wwwroot”).  Instead, point the installer to your new DEV root Web directory (e.g., “D:\DEV”).  The bottom line, you want the installer to place the CFIDE directory and files within this folder, alongside your other CFML files and folders.
    Enter an Administrator password.
    Choose to Enable RDS, or not.  I enable this by preference but it is not required.  This allows you to make updates to files using a CFML editor directly vs. having to move/FTP the files over if you’re working remotely.  Opponents to this argue that it’s potentially less secure, but for a lower environment I don’t see this as a major concern.
    Confirm everything to kick off the install.
    If all goes well you should see a message at the end stating that the install was successful.  I recommend you uncheck the box that asks you to open the CF Administrator in the default Web browser after the install.  NOTE: we will open it a different way during the post-installation tasks.  The worst thing that will happen if you forget to uncheck the box is that you might receive an error that the command prompt hung – not a big deal – just close it and move on to the next (final) steps.
    POST-INSTALLATION TASKS
    Verify CF Installation:
    The installation will create a new folder in your program group: Start > Programs > Adobe > Coldfusion 8.  The default “Administrator” link will not work because it points to the wrong path: http://127.0.0.1/CFIDE/administrator/index.cfm. The “127.0.0.1” or “localhost” path as you may recall in IIS, points by default to the “C:\inetpub\wwwroot” directory.  Our CFIDE files, however, are located within: D:\DEV.
    To bring up the CF Administrator logon page, open up a Web browser and replace the “http://127.0.0.1” part of the path with the DNS path name to your CF environment (e.g., http://dev.test-site.com/CFIDE/administrator/index.cfm).
    This should bring up the Coldfusion Administrator Login screen.  Enter in the Administrator password you created during the install to log in and configure your application server.
    Verify that your test-site renders correctly by typing in your test URL into a Web browser (e.g., http://dev.test-site.com).
    Fix Application Pool Defaults to Re-enable SBS Web Applications:
    At this point, Coldfusion Administrator and your test CMFL Web site should be working properly.  The problem is, default SBS Web applications like OWA, RWW and Companyweb will throw errors and fail to start.  Fortunately, this is easily remedied by performing the following steps:
    In IIS Manager, double-click the server instance in the left-hand pane.  Click on “Application Pools” to display the list of server application pools in the center pane.
    In the “Actions” pane on the right-hand side, click “Set Application Pool Defaults”.
    Change “Enable 32-Bit Applications” - the second item from the top – from “True” to “False” this time.  This should re-enable the SBS applications, which would otherwise result in 500 errors (e.g., OWA, RWW, Companyweb, etc.).  There is no need to restart IIS.
    Open a Web browser and test that you can once again connect to OWA, RWW and Companyweb successfully.
    In IIS click to highlight the application pool for your new site (e.g., “test-site”).  In the right-hand pane, click “Advanced Settings”.  Ensure that “Enable 32-Bit Applications” – second item from the top – is set to “True” for this application pool specifically.
    Lastly, jump up and down for joy!  Hopefully now, everything is working.  Best of luck!! ..Paul D (MCP).

    First, it would be a good idea for you to specify what distro of Linux you're using, as not all are supported by Adobe.
    Second, this is probably your problem right here:
    http://askubuntu.com/questions/40416/why-is-lib-libc-so-6-missing
    In a nutshell, CF expects the 32-bit version of libc.so.6 to be in /lib, but it's probably not. You might be able to modify the installer to point to the correct location for that file, or you might be able to create a symlink to the file - but as the above link describes, creating a symlink might have negative consequences.
    As for installing CF 8 64-bit, that's only available with Enterprise, not Standard. If you want CF Standard 64-bit, you need to upgrade to CF 9.
    Dave Watts, CTO, Fig Leaf Software

  • Adobe Bridge in Photoshop - How to install Bridge and camera raw? And what is it all about?

    Hi everyone! I am actually in love with this adobe photoshop. I used PSCS2 before, but later on upgraded to CS4. But I feel tired in upgrading to CS5.
    One time, I found a tutorial in youtube about camera raw, and would really want to use it. But I was wondering how to install the camera raw. I believe camera raw is a plugin? so I downloaded the plugin here, installed it in my PS. I downloaded a file Camera Raw.8bi and paste it on my C drive - C:\Program Files\Adobe\Photoshop CS4\Plug-ins\File Formats.
    I now am very confused, how will I open it? I do not have adobe bridge!  After I installed the camera raw, I opened my PS. I clicked the file>then browse in bridge. I had an error, it's "error 2 photoshop11 undefined". Which is what I thought, I might have done something wrong with installing it.
    My question is, do you still need adobe bridge installed in order to use camera raw?
    If yes, how does it work? How am I suppose to open camera raw?
    If no, how am I going to open camera raw without bridge?
    And also, where will I download adobe bridge? I cannot find one here for CS4, only adobe bridge for CS5. I am wondering, is it okay to install adobe bridge CS5 and use it with my PS CS4?
    I badly need help!

    WebDAV (Web-based Distributed Authoring and Versioning) is a set of extensions to HTTP/1.1.
    The main difference from FTP as far as I can see is that it allows you to edit documents on a remote web server.
    WebDAV was used by the Apple server - MobileMe but is not generally supported by hosting services.
    Using WebDAV you can mount a directory locally. This was how iDisk worked on your Mac and you could drag files onto it to upload them to the remote directory.
    With WebDAV, a number of users can share a directory which is why its used in local networks but presents security problems when using a remote server.
    If you are into file sharing rather than publishing, Dropbox or its new rival SugarSync are more appropriate.

  • How to install memory modules on a macbook pro 15"

    I run Windows 7 via parallels desktop on my macbook pro. How do I type special characters on a Word document using the mac keyboard?

    how to install memory modules on a macbook pro 15"
    Read the manual / user guide that came with your comptuer or download it from http://support.apple.com/manuals/
    I run Windows 7 via parallels desktop on my macbook pro. How do I type special characters on a Word document using the mac keyboard?
    Post your question on the Paralells forums:  http://forums.parallels.com

  • HT1349 mini graphics to vga adapter for macbook how to install in windows 7.

    mini graphics to vga adapter for macbook how to install in windows 7.
    i have macbook with windows 7 operating system.

    Can you be more specific?
    What are you trying to do?

  • How to install Windows 7/Vista as 2nd OS and retain predesktop environment (service partition)

    This is a step-by-step instruction how to install Windows Vista or Windows 7 as a second OS on a Lenovo Thinkpad that originally shipped with Windows XP AND how to retain the access to the Lenovo Service Partition.
    I have been searching the internet for instructions like these but could not find anything useful. So I am posting it
    here. Maybe this helps other users.
    I have tested the procedure below with installation of Windows Vista Ultimate (64bit) and Windows 7 Ultimate (64bit). I believe that the procedure will also work with the 32bit versions of these OSs. I am not totally convinced that this works when the OS to install is Windows XP (64bit or 32bit). XP has a completely different boot sequence compared to Vista or 7. The basic steps would remain the same, but the XP setup is less forgiving when it finds an unknown partition. If somebody wants to try it out, please post your results as a reply to this forum entry.
    Never never never try to install an older OS (like Windows 2000 or NT) as a second OS when XP is already installed! This is doomed to fail.
    The procedure below does NOT work for Linux installations. I am not a Linux wizard, but any Linux bootmanager I know about is incompatible with the Lenovo Service Partition.
    The procedure was tested on a Thinkpad R61 model 8918-B9G. It should work similar on other models.
    You definitely need a service partition with Rescue&Recovery version 4. It will NOT work with older versions of R&R or if the service partition is not a type12 partition (see below how to find out about that).
    I assume that the harddisk partitions are unmodified, i.e. still have factory settings. This is likely the case if you
    never attempted any OS install or recovery action. If this is not the case, the procedure may or may not work.
    You also need a bootable CD with a tool that can change the size of your current system partition. I was using gparted live version 0.5.2-9. ( http://gparted.sourceforge.net/ )
    Everything you do is at your own risk. I am in no way related to Lenovo, other than being a customer using their
    products.
    Step 1) Make a full backup of your harddisk. Get yourself recovery CDs for your Thinkpad model if you don't have any. The changes we are about to make can completely screw up your harddrive. A typo is sufficient for that to happen.
    Step 2) Power on the system. Check that you can boot into the Service Partition by pressing the Thinkvantage button when the startup screen appears. (Older systems may have a differently named button.) If there is a problem booting the service partition now, it is likely that the rest of this procedure will not fix it.
    Step 3) From the service partition choose 'Warmstart' to reboot the system. Reboot Windows XP, logon.
    Open a command prompt. CD to the following directory:
    \Program Files\Common Files\Lenovo\BMGR
    On a german language system (like mine) it is
    \Programme\Gemeinsame Dateien\Lenovo\BMGR
    If you have an older IBM system the directory may be named
    \Program Files\Common Files\IBM\BMGR
    or something like that. Maybe you need to search around.
    In the following, I will call this the "BMGR dir".
    Enter the following command:
    bmgr32 /info /v
    You should get an output similar to this:
    C:\Programme\Gemeinsame Dateien\Lenovo\BMGR>bmgr32 /info /v
    It's a Lenovo  MBR
    Opened Master Boot Record to see whose MBR it is.
    It's a Lenovo MBR
    Opened drive for reading
    Partition 0 the SP? no, type 0x07 is not correct
    Partition 1 the SP? (512)  Label is SERVICEV
    Using version 2.05 of Lenovo Boot Manager
    Reading: \\.\PHYSICALDRIVE0
            MBR Sector 1 Index: 1   Checksum: 00    Disabled
            MBR Sector 2 Index: 4   Checksum: 03    Passed
            MBR Sector 3 Index: 5   Checksum: FD    Passed
            MBR Sector 4 Index: 6   Checksum: 58    Passed
            MBR Sector 5 Index: 7   Checksum: 96    Passed
            MBR Sector 6 Index: 8   Checksum: 7F    Passed
            Data Sector  Index: 3   Checksum: F1    Passed
            Original MBR Index: 2   Checksum: BD    Passed
            No Patch Sectors
            Checksum Byte: 00
            Think Flag: 1
            WinPE Partition (0-3): 1        Alt Boot Partition (0-3): 1
            Boot Config: 2 (Service Partition containing two Service OS's)
            Boot State: 0                   Alt Boot Flag: 0
            (Normal booting operation, will boot to Customer OS)
            RRU: 00000000 00000000          Prev Active Part: 255
            Previous Partition Type: FF     Patch IN: 0     OUT: 0
            CIRT Disabled
            TOC: 0000000000000000           Lock: 0
            Show Error: 0                   Halt on Error: 0
            CIRT Load Return: 0
            CIRT Execute Return: 0
            Pause Duration: 10              Scan Code: 0085
            F11 Msg: To boot to the Rescue and Recovery Environment, Press F11
            Check Msg: There has been a signature failure
     #  active  type      start CHS      end CHS      startLBA       size
     0   0x80   0x07      1   1   0   239 255 255           63    301296177
     1   0x00   0x12      0 193 255   239 255 255    301296240     11279520
     2   0x00   0x00      0   0   0     0   0   0            0            0
     3   0x00   0x00      0   0   0     0   0   0            0            0
    C:\Programme\Gemeinsame Dateien\Lenovo\BMGR>
    The important thing to look for is the 0x12 partition type in the partition table at the bottom. This is the service
    partition. If you do not have a 0x12 partition, then you can stop here because the rest of the procedure will not work
    for you.
    Step 4) Shutdown and boot gparted from CD. Shrink the system partition to the desired size. Do NOT touch the service partition! Do NOT attempt to create another partition! Leave the new white space on the disk untouched! Apply changes and restart the system.
    Step 5) Reboot XP. gparted has set the NTFS dirty bit. This will cause XP to run a full CHKDSK. Depending on how much files there are on the partition this may take considerable time. Let CHKDSK run to completion. When CHKDSK finishes, the system will automatically reboot.
    Step 6) XP reboots now. Logon. When loading the desktop, XP will show a popup window, stating that system settings have been changed and new devices been discovered and that the system should be rebooted. This is ok. XP actually recognized the shrunk system partition and applied the necessary changes to its own system parameters. Click YES to reboot the system.
    Step 7) XP reboots. Logon. Open a command prompt, CD to the BMGR dir and enter:
    bmgr32 /info /v
    The output you get should be similar to the output you have seen in step 3, except that the partition 0 size column
    shows a smaller value.
    Step 8) Shutdown, restart. Check that you can still access the service partition by pressing the blue Thinkvantage button when the system startup screen appears.
    Step 9) From the predesktop environment choose warmstart. Reboot XP. Logon, logoff, shutdown.
    DO NOT SKIP THIS STEP!!! If you start the Windows Vista/7 install right after shutting down from the predesktop
    environment, the Win Vista/7 setup program will screw up your harddisk! The Lenovo MBR bootmgr reboot takes two steps for completion. The first step is the shutdown and the second step is executed when booting from harddisk. A boot from the Windows CD will skip this second step and disaster finds its way...
    Step 10) Insert the Windows Vista/7 DVD and boot it. Start the setup. Choose "Custom (advanced)" install. It will show the partitions on the disk. Select the white space (unallocated). Click on "disk options (advanced)". Click on "New" to create a new partition in the white space. Keep the default size, click "Apply". Click "Format". A popup window appears stating that the partition may hold OEM data. Continue. Click "Next". Installation starts.
    Continued in the second post...

    Step 11) Win Vista/XP will reboot several times during installation. You will always see the Windows bootmanager with an entry for "Earlier Windows version" and "Windows Vista/7". DO NOT DARE to touch the blue Thinkvantage button on any reboot or press any function keys!
    Step 12) When the installation is finished, check that you can successfully reboot Win Vista/7 by selecting it from the Windows bootmanager.
    Step 13) Reboot XP by choosing "Earlier Windows version" from the Windows bootmanager. Open a command prompt. CD to the BMGR dir. Enter the following command:
    bmgr32 /info /v
    The output will now look like this:
    C:\Programme\Gemeinsame Dateien\Lenovo\BMGR>bmgr32 /info /v
    Opened Master Boot Record to see whose MBR it is.
    Opened drive for reading
    Partition 0 the SP? no, type 0x07 is not correct
    Partition 1 the SP? no, type 0x07 is not correct
    Partition 2 the SP? (512)  Label is SERVICEV
     #  active  type      start CHS      end CHS      startLBA       size
     0   0x80   0x07      1   1   0   254 255 255           63    109675692
     1   0x00   0x07    239 255 255   239 255 255    109676544    191619072
     2   0x00   0x12    239 255 255   239 255 255    301296240     11279520
     3   0x00   0x00      0   0   0     0   0   0            0            0
    C:\Programme\Gemeinsame Dateien\Lenovo\BMGR>
    startLBA and size will of course differ, depending on the actual partition sizes you have set. Note that Windows setup moved the service partition to entry 2 of the partition table. If you do not see the 0x12 partition then stop here.
    Otherwise the following step will likely screw up you harddisk.
    Enter the following command (case sensitive?):
    bmgr32 /Fbootmgr.bin /m0 /IBM /v
    The output will look like this:
    C:\Programme\Gemeinsame Dateien\Lenovo\BMGR>bmgr32 /Fbootmgr.bin /m0 /IBM /v
    installing MBR
    finding free sectors
    Sector 9 is free
    Sector 10 is free
    Sector 11 is free
    Sector 12 is free
    Sector 13 is free
    Sector 14 is free
    Sector 15 is free
    Sector 16 is free
    Opened Master Boot Record to see whose MBR it is.
    It's a Lenovo MBR
    Opened drive for reading
    Partition 0 the SP? no, type 0x07 is not correct
    Partition 1 the SP? no, type 0x07 is not correct
    Partition 2 the SP? (512)  Label is SERVICEV
    Setting Think bit
    C:\Programme\Gemeinsame Dateien\Lenovo\BMGR>
    This command reinstalled the Lenovo bootmanager in the MBR that was erased by the Win Vista/7 setup program.
    Enter the following command:
    bmgr32 /info /v
    The output will now look like this:
    C:\Programme\Gemeinsame Dateien\Lenovo\BMGR>bmgr32 /info /v
    It's a Lenovo  MBR
    Opened Master Boot Record to see whose MBR it is.
    It's a Lenovo MBR
    Opened drive for reading
    Partition 0 the SP? no, type 0x07 is not correct
    Partition 1 the SP? no, type 0x07 is not correct
    Partition 2 the SP? (512)  Label is SERVICEV
    Using version 2.05 of Lenovo Boot Manager
    Reading: \\.\PHYSICALDRIVE0
            MBR Sector 1 Index: 1   Checksum: 00    Disabled
            MBR Sector 2 Index: 11  Checksum: 03    Passed
            MBR Sector 3 Index: 12  Checksum: FD    Passed
            MBR Sector 4 Index: 13  Checksum: 58    Passed
            MBR Sector 5 Index: 14  Checksum: 96    Passed
            MBR Sector 6 Index: 15  Checksum: 7F    Passed
            Data Sector  Index: 10  Checksum: 01    Passed
            Original MBR Index: 9   Checksum: 12    Passed
            No Patch Sectors
            Checksum Byte: 00
            Think Flag: 1
            WinPE Partition (0-3): 2        Alt Boot Partition (0-3): 2
            Boot Config: 0 (Service Partition containing one Service OS)
            Boot State: 0                   Alt Boot Flag: 0
            (Normal booting operation, will boot to Customer OS)
            RRU: 00000000 00000000          Prev Active Part: 255
            Previous Partition Type: FF     Patch IN: 0     OUT: 0
            CIRT Disabled
            TOC: 0000000000000000           Lock: 0
            Show Error: 0                   Halt on Error: 0
            CIRT Load Return: 0
            CIRT Execute Return: 0
            Pause Duration: 10              Scan Code: 0085
            F11 Msg: To boot to the Rescue and Recovery Environment, Press F11
            Check Msg: There has been a signature failure
     #  active  type      start CHS      end CHS      startLBA       size
     0   0x80   0x07      1   1   0   254 255 255           63    109675692
     1   0x00   0x07    239 255 255   239 255 255    109676544    191619072
     2   0x00   0x12    239 255 255   239 255 255    301296240     11279520
     3   0x00   0x00      0   0   0     0   0   0            0            0
    C:\Programme\Gemeinsame Dateien\Lenovo\BMGR>
    So you have actually regained the Lenovo bootmanager. But you are not done yet.
    Step 14) Shutdown. Restart the system. DO NOT PRESS THE BLUE THINKVANTAGE BUTTON AT THE SYSTEM STARTUP SCREEN!!! IT DOES NOT WORK YET! When the system startup screen DISAPPEARS, quickly press F11 (maybe several times). The system should now boot the predesktop environment from the service partition.
    Step 15) When the predesktop is there, choose "warmstart". When the system startup screen appears, press the blue Thinkvantage button. The system should again boot into the predesktop. The blue Thinkvantage button now works permanently.
    Step 16) Check that you can boot Win XP and Win Vista/7 from the Windows bootmanager. You're done!

Maybe you are looking for

  • Using READ_TEXT to read SO10 (standard texts)

    Hi, When we use READ_TEXT F.M for SO10 texts what are the parameters to pass. ID - ST LANGUAGE - EN NAME - Z_TEL (SO10 text id) OBJECT - ? What i should pass to OBJECT & what else i need to input! Thanks in advance. Thanks, Deep.

  • Risport Service: The remote server returned an error: (502) Bad Gateway

    Hi All. I am using the CUCM (System version: 6.1.3.2000-1) Risport function to get device information. When trying to connect to the service (https://<CUCM_IP>:8443/realtimeservice/services/RisPort) I receive the folowing error: The remote server ret

  • Using an external HD with imovie '08

    My 1st generation MBP has 80g HD. I have been doing a lot of shuffling imovie events to an external HD to free up space. Do any more 'up to date' versions of imovie allow it to work with externally stored 'event' files without transferring them to MB

  • Definition fl.video.FLVPlayback could not be found

    I'm stumped. I have to flash files I'm authoring. File A has a MovieClip on stage that has a linkage to a class in which I import fl.video.FLVPlayback File B also attempts to import fl.video.FLVPlayback. File B throws a COMPILE TIME error that it can

  • Add Category in Site Definition

    Is there a way to add a new Category in the "Advanced" section of the Site Definition? I have written an extension and would like to have additional configuration options for th extension for each site definition. Is there a way to have an extension