Q

Linux Java problems

I tried the JCo examples and tutorials under WinNT and Linux. With NT everything works fine. Under Linux the javac

compiler gives the following error msg with all examples, except with Example1.java (where the JCO.Function class is not used): Example2.java:90: The class "com.sap.mw.jco.JCO$Function" is not static and can't be construct from "Example2" When I compile under NT I can use the classes under Linux. Just compiling under Linux doesn't work. Do you have any idea what is the problem?


The Linux JDK 1.2 has all sorts of problems. Please use Java 1.3 on Linux.


This was first published in August 2001

Dig deeper on SAP Java and J2EE

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close