cancel
Showing results for 
Search instead for 
Did you mean: 

SAP NetWeaver 04s Error

Former Member
0 Kudos

I am trying to install ABAP Trial version. I have windows 2003 and jdk1.6.0. When I double click on the setup.exe it gives me an error right when it is about to run the install shield wizard: "java.lang.NoClassDefFoundError: run Exception in thread "main". Is there a solution to this. Do I have to install another version of java? If someone knows and has a solution please let me know. Thanks

Accepted Solutions (0)

Answers (8)

Answers (8)

Former Member
0 Kudos

Hi all:

I have tried to install Netweaver 04s in a testing machine but have the same error: "java.lang.NoClassDefFoundError: run exception in thread "main".

Has anybody a resolution?, tip? idea?.

Thanks,

Ranjeet0702
Active Participant
0 Kudos

Go for J2SDK 1.4.2_12. It will work.

Former Member
0 Kudos

Hi,

Thanks for the tip, but there is a little bit of a problem I found running Java Runtime Environment 1.4.2 on my machine.

What I found out is that some of the JREs indexes don't have a publisher's name, and on a Pentium D processor architecture I'm stuck with DEP - this is Data Execution Prevention and it will block even legit programs that don't have publisher's signatures. My CPU supports this feature.

I went to: Tools=>Internet Options=>Browsing history--Settings=>View objects and right clicked on Java Runtime Environment 1.4.2., then clicked on Update; a message window pops up quite quickly saying:

“Windows has blocked this software because it can't verify the publisher

Name: index.jsp

Publisher: Unknown Publisher”

This means that SAPNW2004sABAPTrail will not install at all because of DEP, this hardware-based technology designed to mark memory locations as non-executable, will not allow execution of programs without publisher's name. Therefore, installation will not work unless the DEP security feature is disabled in BIOS before OS boot. I think those happy folks enjoying ABAP computing have an earlier model motherboard, and especially CPU, that do not affect their work at all, even if DEP is turned on - by the way, DEP is set to ON by default in WXP.

To verify if my machine supports DEP, I went to System Properties>Advanced>Performance—Settings>Data Execution Prevention and looked to find this at the bottom:

“Your computer's processor does not support hardware-based DEP. However Windows can use DEP software to prevent some types of attacks”.

My PC doesn't have this note.

Regards...

Former Member
0 Kudos

I got <b>SAPNW2004sABAPTrail</b> running on my Pentium D machine with DEP technology by doing the following:

1.checked the status of Java Runtime Environment 1.4.2. in the Internet Explorer by going to View Objects. Most of the JREs were showing Damaged in the status.

a. resolution: deinstall all JAVA from PC

b. reboot PC

c. reinstall JAVA <b>j2sdk-1_4_2_09-windows-i586-p.exe</b>

d. went back to Internet Explorer's View Objects and checked the status of JAVA – now status show Installed and not Damaged as previously.

2.went to the folder where the two files SAPNW2004sABAPTrail_part1.rar and SAPNW2004sABAPTrail_part2.rar reside, and Unblocked them both before unzip/unpack.

<b>NOTE:</b> if the RAR files are not unblocked, almost all files extracted from the RAR (mostly exes, htmls, dlls etc.) will inherit the security measure found in RAR's initial properties with the message: “This file came from a different computer and might be blocked to help protect this computer” and it will affect SAPNW2004sABAPTrail normal installation.

3.After unzipping the files, ran the <b>start.bat</b> found in newly created folder SAPNW2004sABAPTrail and proceed to <b>install</b> link.

<b>NOTE:</b> gotten the error:”java.lang.NoclassDeffoundError:run exception in thread "main"” since I still had a previous unresolved deinstall of SAPNW2004sABAPTrail and it is not a JAVA issue... rather, proceeded with deinstall of the previous SAPNW2004sABAPTrail

4.After installation finished, reboot PC

5.installed SAPGUI as well; done installation.

Regards.

Former Member
0 Kudos

Jawahar,

The requirements for "SAP NetWeaver 2004s ABAP Trial Version" do not specify the java version. This is what it states:

SAP NetWeaver 2004s ABAP Trial Version

Operating System: Windows XP Professional (Service Pack 2) or Windows Server 2003.

NTFS-File systems.

Internet Explorer 5.5 or higher or Firefox 1.0 or higher.

At least 1 GB RAM.

Intel Pentium III/1.1 GHz or higher (or compatible).

22 GB hard disk space temporary during installation - 10 GB permanent.

High-resolution monitor (1024x768 or higher, 256 colors).

Make sure that no other SAP system is installed on your computer.

The file < %WINDIR%>\system32\drivers\etc\services must not include an entry for the ports 3201, 3601 and 8000. A possible entry can be excluded by using the hash symbol (#).

If no DHCP server is available on your network (which dynamically determines the IP address) or your computer is not connected to any network, you need to install the virtual interface adapter MS Loopback Adapter.

dirk_feeken
Advisor
Advisor
0 Kudos

For the ABAP Trial version you don't need to install a Java runtime before, because the InstallShield Installer of the new version brings its own VM.

Maybe the Java VM you have installed causes the problem.

Dirk

Former Member
0 Kudos

Hello Mr. Feeken,

I understand that ABAP Trial comes packed with Java runtime engine, but my PC is got all Java updates to date. To my curiosity, I've seen the installer is trying to initialize its own Java VM. Could this kill ABAP installation prematurely simply because there is already a newer version of JVM already running on my PC?

The error I got is identical: <b>“java.lang.noclassdeffounderror:run exception in thread "main"”</b>

Thanks and

Regards,

Cornel

former_member192029
Active Contributor
0 Kudos

Dear Khawer,

Check the pre requiste from here

https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/cfc19866-0401-0010-35b2-dc8158247fb6

Cheers

Jawahar Govindaraj

Former Member
0 Kudos

Rich,

I think it is ok with windows 2003 though you might be right about the java version. One more question is it ok to have SE and not EE of java installed?

Khawer

Message was edited by:

Khawer S.

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Not sure that it will run on 2003 server, also the java verion should be 1.4.X

1.5 -> is not guarentee to work.

Regards,

Rich Heilman

Former Member
0 Kudos

Hi Rich,

I am sorry to post this question in this thread, but I am struck up somewhere and I am not able to look up my question in the forums database which i had already posted a couple of days back. My sincere apologies, as I am badly in need for a response I am re posting this question here. Your help in this regard is highly appreciated. Thanks in advance.

-


I too have installed SAP Netweaver 2004s ABAP version. I need its documentation. Not the one which is in this website. I need some practical guide, a walkthrough of the tools based on samples , probably some examples and tutorials. I want to learn what kind of applications I can develop thru netweaver and how to work with AS, portal etc.. Could you please tell me where to find them online ? Also I noticed there is a book by Horst Keller, 3rd edition of Abap programming on sap netweaver, will that be useful for a quick start? Any idea ?

Hope I am clear.

Thanks

Radsha

Former Member
0 Kudos

Hello Suresh,

Thank you for the prompt reply. Yes i have set the Java_Home and path.

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi Khawer,

Did you set the java classpath?. try these steps and try once

1. Environment variable 'JAVA_HOME' has been set. It should point to a Java 2 SDK ver.

2. Environment variable 'PATH' has been set. It should include a path to the 'bin'-directory of the Java 2 SDK mentioned above, e.g. PATH=%JAVA_HOME%\bin;

Regards, Suresh KB