In order to learn more about the SAP NetWeaver platform, I recently decided to install the software on a laptop at home, so that I can play with both the ABAP and the Java stack. My test platform is a cheap laptop that I bought a few weeks ago just for testing all kinds of software. I’m using that test machine because I did not want to risk messing up my work laptop and I also did not want to be restricted to virtual machine environments.
Since I like Unix-type operating systems like Linux, Solaris and Mac OS X, I decided to play with the Linux downloads that are available for download on the SDN site. The fastest and easiest way to get the SAP NetWeaver 7.0 Trial Version running in a Linux environment is to simply use the SAP NetWeaver 7.0 – Java and ABAP Trial Version on Linux – VMware Edition. The VMware Edition is a great way to test the SAP NetWeaver software as it provides a pre-installed and pre-configured test environment and can be used from any host platform for which a VMware Player exists. SAP NetWeaver 7.0 – Java and ABAP Trial Version on Linux – VMware Edition – Tips & Tricks is all you need to get your SAP NetWeaver system up and running.
As a next step I wanted to get rid of the virtual machine overhead so that I can make full use of the 4GB of RAM and all the CPU cycles in my test laptop. At that time I came across another interesting technology which I had not known before, i.e. WUBI, the Ubuntu installer for Windows. Thus, I thought, why not test two technologies at the same time, i.e. SAP NetWeaver and WUBI.
At this point I probably should make an important disclaimer. Ubuntu Linux is not an operating system supported by SAP. Thus, do not use Ubuntu as the host platform for any serious test, development or production systems! Nevertheless, various blog entries here on SDN and elsewhere have shown that it’s possible to get NetWeaver installed on Ubuntu Linux for “educational purposes”, anyway. Thus, I decided to follow those instructions and see how far I would get.
Now I can say that I have an SAP NetWeaver 7.0 Trial Version running on 64 bit Ubuntu Linux on my test laptop at home, after I installed Ubuntu via the WUBI installer. Both the ABAP and the Java stack seem to be running fine. I also don’t seem to have any problems running the SAPGUI for Java on the same machine.
In order to get there, I had to follow the instructions of multiple blog entries and forum comments. In case other people are bored and want to do the same, I thought it can’t hurt to provide a list of all the resources that led me to my installation success.
The most important resource is this blog entry which is based on and refers to N4S Linux Evaluation Edition NW2004S under Debian (Ubuntu). Finding the current location of the 64 bit IBM JDK wasn’t trivial as the location has changed. Unfortunately, I even can’t provide a new URL right now as I forgot to store the URL somewhere. However, I’m sure people will be able to find the right JDK, anyway.
The bigger problem for me was getting to run the SAPGUI for Java, so that I could install the evaluation license from SAP. The solution to the problem was quite simple, although not easy to find, at least not for me. I added the 32 bit JVM to my 64 bit Ubuntu installation via apt-get as explained in this blog entry, and then created a wrapper script to set the environment variables as explained on the bottom of this page. I remember that I also got the DBIF_RSQL_INVALID_REQUEST database error at some point, but inspired by the comment at the end of I modified my /etc/hosts file and everything worked fine.
I think these are all the resources that I used for my little installation experiment!? Like with my OpenOffice.org / ODF Support in SAP Software, I’m always interested in feedback. I’m also open to ideas regarding what other open source topics I should investigate and blog about in the future. For example, are you interested in open source scripting languages? Again, just let me know!