JNI NIO basic compilation error!?
Hi guys,
following scotts suggestion Im trying to create an IntBuffer in java and then inform C++ about the buffer using GetDirectBufferAddress...
I create the buffer in java without any probs...
IntBuffer shBuf = ByteBuffer.allocateDirect(88200).asIntBuffer();
and then pass it to my JNI method as an Object and is received by the following function
JNIEXPORT void JNICALL Java_JNIWrapper_passBuffer2c
(JNIEnv* env, jclass theClass, jobject buf){
int* ptr = (int*)(*env)->GetDirectBufferAddress(env, buf);
takeit(ptr);
but i get the following error when i compile it...
error: base operand of '->' has non-pointer type 'JNIENV_'
i was attempting to adapt the following example code:
JNIEXPORT void JNICALL Java_MyClass_sendDataToC(JNIEnv* env, jobject unused, jobject buf)
{ float* ptr = (float*)
(*env)->GetDirectBufferAddress(env, buf); C_function_requiring_float_ptr(ptr);
could the fact that my JNI method receives a class rather than a preceeding object be causing the error? I know other JNI functions are affected by this....if so, how does one get around it?
help gratefully recevived as always!
cheers
Sam Aspin
Try env->
Similar Messages
-
Hi,
Basically, I have included a file somehow in my build of a .ear porlet.. Somehow a file which I opened in JDeveloper is now referenced when I do a rebuild. The file was since removed though I have just added the file with an emply class declaration and it compiles fine..
How can I see what is happening when i issue a rebuild on a project file? Any ideas why/where this wrong entry has entered the build process..?
Thanks
SamTry env->
-
i am enable to creat XML file in excel when ever try to creal the XML file it shows Microsoft Visual Basic : "Compile error in hidden module MODULE 11
can any one help me to solve this issueHi,
For the error message, this problem may occur when the following conditions are true:
The Microsoft Office Startup folder or the Microsoft Excel Startup folder contains either or both of the following Adobe Acrobat PDFMaker add-in template files:
Pdfmaker.dot
Pdfmaker.xla
Norton AntiVirus software is installed.
No full installed
Please try the following methods:
Method 1: Download the latest version of the add-in for Adobe Acrobat 5.0
Method 2: Move the files
Method 3: Visit the Symantec Web site for Norton Antivirus information and product updates
Method 4: Repair from the CD disk.
For more detail information, please refer to the following link:
http://support.microsoft.com/kb/307410/en-us
Regards,
George Zhao
TechNet Community Support -
Compiler Error on Linux for jni.h, any solution?
Hi all,
i am using jni.h file provided by sun to compile my code on linux, but it gives me compile error. though it compiles properly on Windows and AIX.
what could be the reason?
jni.h:202: error: expected ')' before '*' token
jni.h:204: error: expected ';' before 'jclass'
jni.h:1877: error: expected ')' before '*' token
jni.h:1879: error: expected ';' before 'jint'
and many more !!!i am using jni.h file provided by sun to compile my code on linuxAre you sure about that? Check that it isn't the one provided with GNU CLASSPATH. If it is, delete GNU CLASSPATH altogether. It isn't Java, and the incompatibility of jni.h is one of many reasons why not.
-
Compilation Error in basic java class
Hello,
I am newbie. And, I have developed following java classes. But the child class is results in error. Below is step by step event. What am I doing wrong?
Step 1. Created a compiled class Shirt(parent). No issues
public class Shirt {
public int shirtID =0;
public String description = "description required";
// color codes
public char colorCode = 'U';
public double price = 0.0;
public int quantityInStock = 0;
// methods
public void displayShirtInformation() {
System.out.println("Shirt ID: " + shirtID);
System.out.println("Shirt description:" + description);
System.out.println("Color Code:" + colorCode);
System.out.println("Shirt price: " + price);
System.out.println("Quantity in Stock :" + quantityInStock);
} // end of method
} // end of class
Step 2. Child class results in compilation error
public class ShirtTest{
public static void main (String[] args) {
Shirt myShirt;
myShirt = new Shirt();
myShirt.displayShirtInformation();
Step 3. Error show below
C:Java>javac ShirtTest.java
ShirtTest.java:4: cannot find symbol
symbol : class Shirt
location: class ShirtTest
Shirt myShirt;
^
ShirtTest.java:5: cannot find symbol
symbol : class myShirt
location: class ShirtTest
myShirt = new myShirt();
^
2 errors Thanks D,Hello all. I am in a similar boat as far as getting the error message:
javac ShirtTest.java
ShirtTest.java:7: cannot find symbol
symbol : class Shirt
location: class shirt.ShirtTest
Shirt privShirt = new Shirt();
^
ShirtTest.java:7: cannot find symbol
symbol : class Shirt
location: class shirt.ShirtTest
Shirt privShirt = new Shirt();
^
2 errorsMy Shirt.java is as follows(which compiles just fine):
1 package shirt;
2
3 public class Shirt {
4
5 private char colorCode = 'U';
6
7 public char getColorCode() {
8 return colorCode;
9 }
10
11 public void setColorCode (char newCode) {
12 colorCode = newCode;
13 }
14
15 }And my ShirtTest.java is as follows:
1 package shirt;
2
3 public class ShirtTest {
4
5 public static void main (String args[]) {
6
7 Shirt privShirt = new Shirt();
8 char colorCode;
9
10 privShirt.setColorCode('R');
11 colorCode = privShirt.getColorCode();
12
13 System.out.println("Color Code: " + colorCode);
14 System.out.println(" ");
15
16 privShirt.setColorCode('Z');
17 colorCode = privShirt.getColorCode();
18
19 System.out.println("Color Code: " + colorCode);
20
21 }
22
23 }This is basically from the Fundamentals of the Java ^TM^ Programming Language SL-110-SE6 Student Guide(pages 9-12 & 9-13). We are working on Encapsulation if that makes any difference. Maybe it's just me but this book is not very new programmer/user friendly. At least in my opinion. I find it very frustrating that I can't even type in examples from the book and get them to work.
I have tried the javac -cp . ShirtTest.java suggested here but get the same error. I have removed all *.class* files and still no luck.
OS:
uname -a
SunOS 5.10
JAVA:
java -version
java version "1.5.0_26"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_26-b03)
Java HotSpot(TM) Server VM (build 1.5.0_26-b03, mixed mode)
Anyway, any help would be appreciated. -
Smart View compile error on startup
Hi
Just installed the following components:
- Windows 2008R2
- Office 2010 x64 with SP2
- Smart View 11.1.2.5.210 (x64)
When I start and close Excel I get the following:
Microsoft Visual Basic for Applications
Compile error in hidden module: HsTBarPublic. This error commonly occurs when code is incompatible with the version, platform, or architecture of this application.
The same software version works fine on 32bit versions of Office 2010 + Smart View. Any ideas for troubleshooting 64bit Applications of Office and Smart View?
Thanks
AnthonyHad the same problem with conflict between CS6 (Photoshop, Premier, After Effects, etc.] and Net Nanny. Solution was as follows:
1. Log onto Net Nanny Admin Tools
2. Click on Application Exceptions
3. Click Add
4. Browse to folder containing "dynamiclinkmanager.exe". On my computer (Windows 7 Pro) it was located in
C:\Program Files (x86)\Common Files\Adobe\dynamiclink\CS6
[I do have dynamiclinkmanager.exe elsewhere, but Net Nanny only allows you to identify a given file name once]
5. Select dynamiclinkmanger.exe, Open, OK
6. Repeat steps 3 to 5 but this time for "dynamiclinkmediaserver.exe" which I found in
C:\Program Files (x86)\Common Files\Adobe\dynamiclinkmediaserver\1.0
7. Click OK to accept application exceptions
8. Exit Net Nanny Admin Tools
7. On my computer Photoshop would now load without incident, but if necessary reboot.
NOTE: Once I solved the dynamiclinkmanager stopped problem I then encountered an Adobe Media Core stopped problem when I started After Effects and Premier. To resolve this second problem with Net Nanny I repeated the above steps adding the following application exception:
"Adobe QT32 Server.exe"
which I found in
C:\Program Files (x86)\Common Files\Adobe\dynamiclinkmediaserver\1.0
[Again there are multiple copies of "Adobe QT32 Server.exe" but Net Nanny accepts only one, and I selected the one in "Program Files (x86)" and not the ones in "Program Files" because of this is where I also found dynamiclinkmanager.exe. All works fine now.]
Hope this works for you. -
Compilation error when deploying EAR file on standalone OC4J...
Hi All,
I am getting the following error when trying to deploy an EAR File describing a web service from the Jdeveloper IDE to the stanalone OC4J server instance.
==========================================================
Uploading file JavaWebServiceEmp-GetDates-WS.ear ...
Application Deployer for JavaWebServiceEmp-GetDates-WS STARTS.
Copy the archive to C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear
Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear begins...
Unpacking JavaWebServiceEmp-GetDates-WS.ear
Done unpacking JavaWebServiceEmp-GetDates-WS.ear
Unpacking WebServices.war
Done unpacking WebServices.war
Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear ends...
Starting application : JavaWebServiceEmp-GetDates-WS
Initializing ClassLoader(s)
Initializing EJB container
Loading connector(s)
Starting up resource adapters
Initializing EJB sessions
Committing ClassLoader(s)
Initialize WebServices begins...
Initialize WebServices ends...
Started application : JavaWebServiceEmp-GetDates-WS
Binding web application(s) to site default-web-site begins...
Binding WebServices web-module for application JavaWebServiceEmp-GetDates-WS to site default-web-site under context root JavaWebServiceEmp-GetDates-context-root
Operation failed with error:
Error compiling :C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS\WebServices: compilation error occurred
Deployment failed
Elapsed time for deployment: 1 minute, 50 seconds
==========================================================
Please could somebody help me out with this? Basically I am not able to understand how to deploy the EAR file created under the MyWork folder under jdeveloper\jdev to the applications folder of j2ee\home. I am new to both EAR deployment as well as web services and would like to get a good understanding of the working of a web service which includes SOAP components and the like.
Any help with regards to building and deploying a web service on standalone OC4J would be appreciated. Thanks a lot.Initially I followed the following steps to start up OC4J:-
Settings :-
1) Jdeveloper is setup under C:\Lester\Testing as Jdev10.1.3 folder
2) I downloaded the extended oc4j zip folder and unzipped it under a new folder oc4j at the location C:\Lester\Testing\Jdev10.1.3
Steps followed to run oc4j and deploy application
1) Setup a standalone oc4j from the jdeveloper ide giving C:\Lester\Testing\Jdev10.1.3\oc4j as the root folder for oc4j.
2) While doing step 1 added password and deployed it. Changed server.xml under C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/config
to include the following:-
<shared-library name="global.libraries" version="1.0" library-compatible="true">
<code-source path="C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/applib"/>
</shared-library>
AND
<java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" bindir="C:\Jdeveloper\jdk" extdirs="C:\Jdeveloper/jdk" />
3) Opened a command prompt and went to the location C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home and ran the following command:-
--> java -jar oc4j.jar
4) Deployment: Then I deployed my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
using:-
--> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -deploy -file PrimeNumberService.ear -deploymentName DocStyleWebService
5) Web Binding: Then I bound my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
using:-
--> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -bindWebApp DocStyleWebService PrimeNumberService_web http-web-site /docws
6) Steps 4 and 5 went through without error.
7) However when trying to access the web service using the following link I get the standard HTTP 404 (Page not found) error:-
http://localhost:8888/docws/prime
This was before I tried deploying the web service through jdeveloper IDE.
I had tried the document web service given at the following link:-
http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/docservice/index.html
from the web services how to links
http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/index.html
Please could somebody help me out? Also periodically I recieve the ojc.exe not found error when trying to deploy an application using jdeveloper ide. There are two conflicting jdeveloper versions one comes with this exe and one without.
Message was edited by:
Lester N -
When try to call Sub in Excel Objects > SheetXX after the original xlsm is modified and saved by another user in diff machine, getting an error below and seems Excel cannot identify any subs exists in Sheet.
Compile error:
Object library invalid or contains references to object definitions that could not be found
Note: it seems that this problem has been occurring After December 2014 update and still exists even after applying the fix:
http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2014/12/11/forms-controls-stop-working-after-december-2014-updates-.aspx)Hi Kwlee324,
Thanks for sharing the workaround with us. It would be very helpful for others who have the same issue.
Also I found a two useful links about the error message "Object library invalid or contains references to object definitions that could not be found":
https://support.microsoft.com/kb/2703186
http://blogs.msdn.com/b/vsod/archive/2009/06/05/visual-basic-6-controls-stop-working-after-security-advisory-960715.aspx
Hope it is helpful.
Regards & Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Fpga DMA FIFO compilation error
Hello,
I have a cRIO 9074 with FPGA. I am trying a simple piece of code to learn how to aquire data that is generated on the FPGA at a rate of 10 KHz and transfer it to the Host VI for processing it later offline. However, I encounter this compilation error when compiling this basic FPGA VI containing a FIFO
write node (picture of the VI attached below). In the Compilation Report, it says that there were 256 Block RAMs used (the
total number is 40), therefore an error was produced. The exact compilation error
notification from the Xilinx report is reproduced below:
# Starting program map
# map -o toplevel_gen_map.ncd -intstyle xflow -timing toplevel_gen.ngd
toplevel_gen.pcf
Using target part "3s2000fg456-4".
Mapping design into LUTs...
Running directed packing...
Running delay-based LUT packing...
ERRORack:2310 - Too many comps of type "RAMB16" found to fit
this device.
ERROR:Map:115 - The design is too large to fit the device. Please check the Design Summary section to
see which resource requirement for your design exceeds the resources available
in the device. Note that the number of slices reported may not be reflected
accurately as their packing might not have been completed.
NOTE: An NCD file will still be
generated to allow you to examine the mapped design. This file is intended for evaluation use only,
and will not process successfully through PAR.
Mapping completed.
See MAP report file "toplevel_gen_map.mrp" for details.
Problem encountered during the packing phase.
Design Summary
Number of errors : 2
Number of warnings : 125
ERROR:Xflow - Program map returned error code 2. Aborting flow
execution...
Bitstream Not Created
Timing Analysis Passed
What does this mean? How can I fix this error?
Thank you,
Bogdan
Solved!
Go to Solution.
Attachments:
FPGA.png 16 KBSorry, I forgot to mention that...LAbVIEW 2009. And yes, this is the only loop on the FPGA.vi. I just made up this code to understand how exactly I would save some data on the host for subsequent processing, but I didn't get to that point because the VI on the FPGA does not compile successfully. Do you know of any example of the most basic code for DMA FIFOs between the FPGA and Host Computer? This should be pretty straight forward, but for some reason it's not.
Thanks,
Bogdan -
TRIM() not found? Compile error: Can't find project or library in Excel 2007
I am preparing to make a few alterations to a spreadsheet that another person built. I have NOT made any changes to it yet.
They put in a button that allows portions of the worksheet to print. I am now using Excel 2007. Their code ran fine in 2003.
The button had worked in Excel 2003- but now (without any changes) throws an error "Compile Error: Cant find project or library."
TRIM is highlighted in the following code: (See below for the whole sub)
If Trim(Worksheets("Measurements").Cells(RowCounter, ColumnCounter).Value) <> "" Then
If RowCounter > PrintRowMarker Then
PrintRowMarker = RowCounter
End If
If ColumnCounter > PrintColumnMarker Then
PrintColumnMarker = ColumnCounter + 1
End If
End If
I have added in the following references into Excel via the big button in the upper left and the "Excel Options" screens:
Analysis Toolpak and Analysis Toolpak-VBA. The sheet "Measurements" is present.
1) Are these the right packages for the TRIM function?
2) Is there a different Add-in that is needed?
3) Is there an additional step I must use to actually add in these packages?
4) Is there something else I should do?
Thanks-
Loralee
P.S. Access 2003 finds (it's version of) TRIM fine- so a version is on the machine. This spreadsheet if failing in the same way on 2 machines- both with Office 2007 installed.
Private Sub BtnPrint_Click()
Dim RowStarter As Integer 'Where to start checking rows for content
Dim RowCounter As Integer 'The current row being checked
Dim ColumnCounter As Integer 'The current column being checked
Dim PrintRowMarker As Long 'The last row with data
Dim PrintColumnMarker As Long 'The last column with data
Dim NoMoreData As Boolean 'Look for a blank record
Dim RangeValue As String 'Define the range string value
Dim EndRangeValue As String
PrintColumnMarker = 0
PrintRowMarker = 0 'Initialize the row printing marker
RowStarter = 5 'Print Starting Point
For RowCounter = 2005 To RowStarter Step -1
For ColumnCounter = 50 To 2 Step -1
If Trim(Worksheets("Measurements").Cells(RowCounter, ColumnCounter).Value) <> "" Then
If RowCounter > PrintRowMarker Then
PrintRowMarker = RowCounter
End If
If ColumnCounter > PrintColumnMarker Then
PrintColumnMarker = ColumnCounter + 1
End If
End If
Next ColumnCounter
If PrintRowMarker > 0 Then
End If
Next RowCounter
EndRangeValue = IndexToString(PrintRowMarker, PrintColumnMarker)
RangeValue = "$A$1:" & EndRangeValue
Worksheets("Measurements").PageSetup.PrintArea = RangeValue
Worksheets("Measurements").PageSetup.PrintGridlines = True 'Turn on gridlines
Worksheets("Measurements").PrintPreview 'PRINT THAT PUPPY!
End SubAppears OK to me but the error message " Cant find project or library." suggests it could possibly be the references in VBA.
In VBA select menu item Tools - References.
Ensure that the following are checked:-
Visual Basic for Applications
Microsoft Excel 12.0 Object Library
OLE Automation
Microsoft Office 12.0 Object Library
It there are any references displayed as Missing then scroll down to find the equivalent reference and check it and then uncheck the Missing one/s.
Regards, OssieMac -
Create Procedure - How to Detect Compilation Errors
Hi,
I am working on an application where users will be able to type in their own stored procedures. I perform some basic parsing of the function spec, to make sure it is well-formed, but that's all the parsing I do. I assumed an SQLException would be thrown by the executeUpdate() call which creates the procedure if the procedure is malformed. This is not the case. executeUpdate() returns 0, whether or not the procedure was created with compilation errors.
After they type it in, I would like to be able to tell the user whether or not their procedure is syntactically correct. Given that writing a complete PL/SQL parser in Java is obviously out of the question, how can I do this? There must be a way.
Thanks in advance for any and all help,
JamesNote that there is a USER_ERRORS table.
You could DELETE FROM USER_ERRORS before issuing the procedure declaration and then SELECT ... FROM USER_ERRORS to see if errors have occured and if so to print them out. -
WEB ADI Error with Excel - Compile Error
I am trying to export data to Excel. The process works until the data is loaded to Excel whereupon I get a Microsoft Visual Basic error "Compile Error: User-defined type not defined.
Behind the error message is several screens from VB with the following line highlighted "Dim oParser As New SAXXMLReader30"Please post the details of the application release, database version and OS.
I am trying to export data to Excel. The process works until the data is loaded to Excel whereupon I get a Microsoft Visual Basic error "Compile Error: User-defined type not defined.Can you find any details about the error in the BNE.log file? -- How to Create a BNE Log For Web Adi Issues and Errors? [ID 817023.1]
Behind the error message is several screens from VB with the following line highlighted "Dim oParser As New SAXXMLReader30"Please see if (Web ADI: Compile Error - Userdefined Type Not Defined LEDGER_IDDetails [ID 1319992.1]) is applicable.
Thanks,
Hussein -
Hi,
Windows 7 home basic.
Oracle Fusion Middle Ware 11g Forms [32 Bit] Version 11.1.1.6.0 (Production).
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
I have problem with compiling webutil and others forms & library ?
" Sql Statement Ignored "
"the declarion of the type of the expression is in complete or malformat"
Regards,Hi
While facing compilation errors in forms pls check...
1.Does any of ur forms supports Graphics which is no longer supported in Forms 11g.
2.Does it any of ur forms supports Triggers, code e.g. using OLE2 without using Webutil..
3.Even icons and passwords r Case Sensetive
4.Forms during compilation may have in-consistancy between package Specification and Bodies...
Pls before migrating read Oracle Forms 11g Migration Documentation to see the desupported Built in
Regarding ur SQL Statment Error u might need to upgrade to ORACLE 10.2.0.3 to Solve such a problem
Regards,
Amatu Allah
Edited by: Amatu Allah on May 10, 2012 7:48 AM -
Compiler Error: cannot read
starting java. using MSDOS window on windows 98.
have autoexec path sorted out so compiler is invoked OK.
submit HelloWorld.java to it gets
cannot read:HelloWorld.java
verbose compiler option only tells me low long it spent.
How do I find out what is wrong. SUN site search produced no response to "compiler error".
This is a show stopper. Please help.
Mike.If you search the forums for "cannot read" you'll find some answers.
Basically, the cannot read error from the javac compiler means the compiler can't find the file. The argument to the javac command must be a file name or path name to the file(s). It appears that the command you entered was "javac HelloWorld.java" so a file name HelloWorld.java must exist in the directory you were in when you entered the command.
Use the DOS DIR command to make sure the file exists. If you used a text editor like Notepad to create your source file, Notepad may have saved the file as HelloWorld.java.txt so javac wouldn't find it. -
Problem When Import Java Class -compilation error
Hi all
I made a java class that has methods to return Screen width and Height .
package tarek;
import java.awt.Dimension;
import java.awt.Toolkit;
public class Screen
Dimension dim ;
public Screen()
dim = Toolkit.getDefaultToolkit().getScreenSize();
public double getWidth()
double w = dim.getWidth();
return w;
public double getHeight()
double h=dim.getHeight();
return h;
I made the jar file " screen.jar" and make it ready to use in form builder
I opened form builder and make import java class (From program>import java class>choose the class anc click import)
The class now imported successfully and the PL/SQL package body is:
PACKAGE Screen /* tarek.Screen */ IS
-- DO NOT EDIT THIS FILE - it is machine generated!
-- Constructor for signature ()V
FUNCTION new RETURN ORA_JAVA.JOBJECT;
-- Method: getHeight ()D
FUNCTION getHeight(
obj ORA_JAVA.JOBJECT) RETURN NUMBER;
-- Method: getWidth ()D
FUNCTION getWidth(
obj ORA_JAVA.JOBJECT) RETURN NUMBER;
END;
Now I made a button on the form and i WRITE THIS CODE TO INVOKE THE CLASS on when_button_pressed
DECLARE
vScreen_Class ORA_JAVA.JOBJECT;
BEGIN
vScreen_Class := SCREEN.NEW;
END;
My problem is I have compilation error
error 306 AT LINE 5 , COLUMN 25
wrong number or types of argument in call to "NEW"
I do not know what is the reason of this compilation error?
Is it because the method in java return "double datatype" while in oracle return "number datatype"
Please help
Edited by: [email protected] on Dec 28, 2009 10:24 AMSarah, I ca not move my thread to JDeveloper because it is not java issue. The problem is with my PL/SQL code and the way I make Import Java class to forms Builder. The Java code is OK.
Andreas Thank you so much for replying. In fact I made a full compile "Ctrl+Alt+K". but still error
The following is the package Body
PACKAGE BODY Screen IS
-- DO NOT EDIT THIS FILE - it is machine generated!
args JNI.ARGLIST;
-- Constructor for signature ()V
FUNCTION new RETURN ORA_JAVA.JOBJECT IS
BEGIN
args := NULL;
RETURN (JNI.NEW_OBJECT('tarek/Screen', '()V', args));
END;
-- Method: getHeight ()D
FUNCTION getHeight(
obj ORA_JAVA.JOBJECT) RETURN NUMBER IS
BEGIN
args := NULL;
RETURN JNI.CALL_DOUBLE_METHOD(FALSE, obj, 'tarek/Screen', 'getHeight', '()D', args);
END;
-- Method: getWidth ()D
FUNCTION getWidth(
obj ORA_JAVA.JOBJECT) RETURN NUMBER IS
BEGIN
args := NULL;
RETURN JNI.CALL_DOUBLE_METHOD(FALSE, obj, 'tarek/Screen', 'getWidth', '()D', args);
END;
BEGIN
NULL;
END;
---------------------------------------------------------------------------------
Maybe you are looking for
-
HI folks, See my requirement is need to setup in "A new custom field on the Line Item to hold the predefined values like: Max, Mini and Average for a sales Contract in the "SAP CRM Standalone", in the sense I need to create one new custom field for s
-
I have an optical mouse that came with my Mac Pro, the only thing plugged into the USB port on the keyboard. After a year of working normally, the trackball all of a sudden stopped scrolling down. It scrolls up just fine, but not down. Any thoughts?
-
Wsdlc / xmlbeans - no exception handling
hi when I generate a webservice with wsdlc and the option typeFamily="XMLBEANS_APACHE", I have no exception classes, I mean no classes that extends java.lang.Exception or a throwable class. when I generate the webservice without the typeFamily option
-
SNC parameters in Connector properties of System in EP.
Can anyone explain the parameters that deal with SNC in the connector categories when we create a new System in EP. I need to conenct to an R/3 backend system using SNC via portal. Currently i can aces that system using SNC but via the SAP Launch Pad
-
I just downloaded the j2ee SDK and am hoping to compile some simple java applets. HOwever, I am having difficulty either finding an appropriate FAQ or getting some code to compile. When I type in javac on the command line (in windows xp) it brings ba