Issue related to native method


 
Thread Tools Search this Thread
Top Forums Programming Issue related to native method
# 1  
Old 01-14-2009
Issue related to native method

Hi,
I am working with java and C/C++.In my java code I am using the native method to work with C/C++.So I am getting some error in C/C++ source code which I am not able to find it because It is throwing the only java null Exception....
Is there any way by which I can see the error in java console or how can I see those C/C++ errors when I run my java application.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need help in an issue related to mailx

Hello, I have a file temp.txt with the below contents : Sep 9 03:04:51 adcsdp01 MAPDR2_00: Unable to open trace file adpstartarv.log. (Error 110 Resource temporarily unavailable) Sep 9 03:05:35 adcsdp01 MAPDR2_00: SAP Service ADPMR2_00 successfully started. Sep 9 03:04:51 adcsdp01... (7 Replies)
Discussion started by: rahul2662
7 Replies

2. AIX

IHS connector related loading issue

I am getting the following error on loading the connector DLL in IHS 8.5 on AIX 7.1 bash-4.2# /usr/32bit/IBM/HTTPServer/bin/apachectl start httpd: Syntax error on line 902 of /usr/32bit/IBM/HTTPServer/conf/httpd.conf: Cannot load /usr/<company_name>/IHS85/lib/libApache22Connector.a into... (3 Replies)
Discussion started by: George47
3 Replies

3. Shell Programming and Scripting

Date related issue

Hi, I have TDATE=$(date '+%b %d') That stores "Sep 01" in the TDATE. How I can store "Sep 1"? Thanks in advance (3 Replies)
Discussion started by: dipeshvshah
3 Replies

4. Programming

Issue Related to Splash Screen in Java

Hi all, Actually I want to flash the image which I have in my system and when I am trying to do it,it is not showing it.simply creates the frame but not displaying the image.I am attaching the code-- Please take a look on it and please provide your valuable suggestions on it so that I... (2 Replies)
Discussion started by: smartgupta
2 Replies

5. Programming

Issue Related to Proxy Server

Hi All, I am establishing the proxy server to communicate the date between devices using serial port but after serial port connection,it should start the Proxy Server and still run till the communication is happening...but server became started but it became halted due to error - Please... (1 Reply)
Discussion started by: smartgupta
1 Replies

6. Programming

Issue Related to Splash Screen

Hi Guys, I am working with Solaris 9 and we are developing the application which will work on different OS.So we develop the GUI using JAVA swings... we want to display a Splash screen before starting the installation of the application... 1st we develop our application for windows and it is... (1 Reply)
Discussion started by: smartgupta
1 Replies

7. Programming

Regarding Native method

Hi, I am working with solaris 9 and I am using jre1.6. In my application,I am using java and C++ in my application.Basically we are using the java for front end and C/C++ for back hand.So I have to call the C/C++ source code form java code.we are using native methods for it.. So application... (1 Reply)
Discussion started by: smartgupta
1 Replies

8. UNIX for Advanced & Expert Users

Unix Machine for calling Native Method of C

hi all i have a unix machine (FBD). I have Also installed java of Version (j2sdk1.4.1_07) on unix machine. Now i want to Call C Native function in Java Which is declared as Native. i am doing this by following steps: 1) Making Echo.java File Which is having The following lines of code.... (5 Replies)
Discussion started by: sbeyonduf007
5 Replies

9. HP-UX

Facing an issue related to cronjob

Dear All, I am facing an issue related to cronjob and explained below is the case study: 1. I have a java class named "DmCheckRenditionQueue.java" and placed under "/cpc/documentum/product/5.2.5/tomcat/webapps/rendition" 2. When I am using the command "/usr/openv/java/jre/bin/java -cp... (1 Reply)
Discussion started by: parindam
1 Replies

10. Shell Programming and Scripting

file related issue

Hi all, Anybody knows how to write a script to open a file and store the weekday(mon-sun) on first line and current datetime on the second line of the file. If file doesn't exist, create a new one and store the weekday and current datetime. If it already exists, open it and get both... (2 Replies)
Discussion started by: k_oops9
2 Replies
Login or Register to Ask a Question
native2ascii(1) 					      General Commands Manual						   native2ascii(1)

NAME
native2ascii - native to ASCII converter SYNOPSIS
native2ascii [ options ] [ inputfile [outputfile]] DESCRIPTION
The Java compiler and other Java tools can only process files that contain Latin-1 or Unicode-encoded (udddd notation) characters. native2ascii converts files that contain other character encoding into files containing Latin-1 or Unicode-encoded charaters. If outputfile is omitted, standard output is used for output. In addition, if inputfile is omitted, standard input is used for input. OPTIONS
The following options are supported: -encoding encoding_name Specifies the encoding name that is used by the conversion procedure. The default encoding is taken from system property file.encod- ing. The encoding_name string must be one taken from the first column of the table of supported encodings in the Supported Encodings document: http://java.sun.com/j2se/1.5/docs/guide/intl/encoding.doc.html -reverse Performs the reverse operation: converts a file with Latin-1 or Unicode-encoded characters to one with native-encoded characters. -Joption Pass option to the Java virtual machine, where option is one of the options described on the man page for the java applica- tion launcher, java(1). For example, -J-Xms48m sets the startup memory to 48 megabytes. It is a common convention for -J to pass options to the underlying virtual machine. 22 Jun 2004 native2ascii(1)