How to run JNI in VisualAge 3.5
hi,
I can run my JNI in command (.java .h .dll .class), but i am failed when i put them in VisualAge 3.5 (professional).
problems:
1. I am not sure where to put the .dll and .h files, i put them in the resouce.
2. i can NOT get the result in the VisualAge, and no error output.
it is very important for me. please help me!!!
thank you very much
Visual Age needs to find the .dll when you do the loadLibrary(.),
so either put it into a path of the PATH variable, or load it with
ist complete path. As long as you get "UnsatisfiedLinkError's", then
the .dll cannot be found or a .dll that is needed by it.
Other than that, all should be working fine.
Sylvia
Similar Messages
-
How to Run Jar in Background process
Hi,
I am develop one application in java,
I have some problem in my application,
whats my problem is, I want to run my jar file
in system background, that is when i was start the system
my jar gets ready to run the application,
Can any one please give some idea to how to run my jar in
background task and how to start the jar when the system
start.
Thanks in advance,
Regards,
Ganesh Kumar.LHi
It has been a while since you asked your question- I hope you still need the solution. Java typically does not support this because it is platform specific. I don't know what operating system you are working on. I assume Windows. There are numerous ways to do this in Windows. The easiest is to copy the program into the startup folder. The directory is: C:\Documents and Settings\All Users\Start Menu\Programs\Startup. Another way, less visible to the user, is to make an entry in the registry. If you place the location of the program as data in a key in HKLM\Software\Microsoft\Windows\Current\Version\Run of the registry, it will start with the system. This is hard to do in Java (for obvious reasons) however it is not impossible. You can use JNI which is really difficult to learn and hard to implement or you can use
Process p=Runtime.getRunTime().exec({"reg.exe","add HKLM..."});This will execute the Windows utility reg.exe with the arguments provided by the second in the array of Strings. Documentation on reg.exe can be found through the command prompt. There are other ways such as modifying Autoexec.bat however they are less reliable
Hope I helped -
How to run perl file from java file..???
Hi All,
How to run a perl file from java file.I know that there is one JPL(Java-Perl Library) preprocessor which can be used to do this,but no idea of how to do it..
Any help is appreciated.
Thanks in advance.viswa07 wrote:
Ok and any idea regarding JPL..????I don't know it and the first few posts that I found mentioned it using Java 1.1-style JNI calls, which hints at a dead project. And you don't want to use a dead project. -
HOW TO RUN ADOBE READER IN MACBOOK PRO
HOW TO RUN ADOBE READER IN MACBOOK PRO
Please stop using caps. It is considered shouting and rude.
You need to download the program. The reader runs when needed.
Barry -
How to run 'Get-AssignedAccess' or 'Set-AssignedAccess' power shell commands in c# Application
Hi,
I have console application using which i am trying to run power shell command like 'Get-AssignedAccess' or 'Set-AssignedAccess'.
i am using below code for this it is throwing exception 'Get-AssignedAccess' doesn't exist in cmdlet which is correct because these commands belongs to function category.
using (PowerShell pwInstance = PowerShell.Create())
pwInstance .AddScript("Get-AssignedAccess");
var result = pwInstance .Invoke();
How can we execute this kind of command using c#?
Thanks,Hi prakashlight,
Thank you for comming back and tell us the result. For more information about how to run PowerShell script in C# language, you can refer to this blogpost here:
Executing PowerShell scripts from C#
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. -
Hi
Does anyone know How to run twin monitors on a MacBook Pro operating on a Windows Server 2008 R2 ?I know this doesn't help you much, but, I think you have to see if your Mac pro does audio out via HDMI. I don't even know if mine does via DVI. I think it may have to do with the adapter. Try going into Audio MIDI and setting the digital out to multichannel
and using the toslink cable for now. Lemme see...apparently DVI does not carry audio at all. Hm. apparently monoprice could be helpful? If I understand what you're saying correctly: you want to take DVI and multichannel audio via the Toslink and have it all go out over HDMI, right? Whooo..... amazon...looks like it's about $100http://www.amazon.com/Audio-SPDIF-Toslink-Converter-Adapter/dp/B0015YYOQQ
just a shot in the dark
I'm probably wrong....or not
John B -
How to run expdp from client ?
Hi All,
I tried searching google and forums for my issue but to no avail > How to run expdp from client side ....like in my laptop.
Because currently our PROD database server has no space for expdp dump file. So I want it directed to my laptop which has an extenal USB of 1TB harddisk...via client EXPDP
import data using impdp command
Posted on: 08-May-2012 11:36, by user: 841731 -- Relevance: 53% -- Show all results within this thread
below command is correct or not? if it is not correct could you please send me the correct command. impdp user/pass@databasename schemas=sourceschemaname remap_schema=sourceschemaname:destinationschemaname ...
System generated Index names different on target database after expdp/impdp
Posted on: 30-May-2012 11:58, by user: 895124 -- Relevance: 43% -- Show all results within this thread
After performing expdp/impdp to move data from one database (A) to another (B), the system name generated indexes has different ...
[ETL] TTS vs expdp/impdp vs ctas (dblink
Posted on: 08-May-2012 21:10, by user: 869578 -- Relevance: 39% -- Show all results within this thread
(table : 500 giga, index : 500 giga), how much faster is TTS (transportable tablespace) over expdp/impdp, and over ctas (dblink) ? As you know, the speed of etl depends on the hardware capacity. (io ...
Oracle Client
Posted on: 21-Jun-2012 22:47, by user: Sh**** -- Relevance: 32% -- Show all results within this thread
Hi Guys, Please can you guys elaborate the difference between Oracle Client and Oracle Instant Client. Also, please can you advise from where I can download the Oracle normal ...
Oracle 10g Client
Posted on: 05-Jun-2012 10:11, by user: dzm -- Relevance: 26% -- Show all results within this thread
to search at oracle site and this forum, but i wasn't able to find a link to download the oracle 10g client. I really need especificaly the 10g version. Anybody know the link or another way to download ...
9i client to access 11g database
Posted on: 22-Jun-2012 07:31, by user: kkrm333 -- Relevance: 24% -- Show all results within this thread
Hi, Can i access a 11g database using 9i client? Thanks,
SQLplus in Oracle Client
Posted on: 14-Jun-2012 00:36, by user: Tim B. -- Relevance: 24% -- Show all results within this thread
Hi, I tried to install an 11g oracle client in linux. As I've compared the files with the files when you install using the oracle instant ...
Re: Information on Oracle Client 11202-1.1.4-6
Posted on: 05-Jun-2012 03:33, by user: 898763 -- Relevance: 23% -- Show all results within this thread
Actually thats the client requirement
Analysing the performance of a single client
Posted on: 28-Mar-2012 02:05, by user: 880172 -- Relevance: 23% -- Show all results within this thread
timeouts even on some of the simplest queries. I want to try and get some data about how just this one client is performing and what it’s doing, but everything Google has thrown up so far is orientated around ...
to make client connection as sys
Posted on: 12-Jun-2012 22:04, by user: user11221081 -- Relevance: 23% -- Show all results within this thread
Dear gurus can i connect to my server from my client machine with sysdba without giving sys password i have connected in different ways as sys@abc ...Thanks a lot.Though you can initiate the binary from your client side but for the file creation, there is no other way but to store it on the server side. So your best bet would be to get some space free on the server side of yours.
Aman.... -
How to run a Concurrent Program from the back end?
Hi,
How to run a Concurrent Program from the back end?
Is it Possible to see that Concuurent Request id which we run from the back end, in the front end?
If yes, then Please Give reply how to write the code
Thanks in Advance,
Bharathi.SThis is documented in Chapter 20 of the Application Developers Guide http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121devg.pdf. These MOS Docs also have some information available
221542.1 - Sample Code for FND_SUBMIT and FND_REQUEST API's
235359.1 - How to Launch Planning Data Pull MSCPDP using FND_REQUEST.SUBMIT_REQUEST
HTH
Srini -
How to run a report from oracle 10g form in .csv format
dear all,
how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
i'm using
SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
Please Help..i have already tried.
but the report show in htm or html format. that file will not save into csv. please help. -
How to run a script on Oracle server from isqlplus
Hi I am trying to run a script on my workstation from Oracle server through isqlplus workarea. I entered following command and get the following error. i have enabled isqlplus URL by editing web.xml file already. Can please someone help how to run the script?
@http://myaixserver.com:5560/scripts/Databasestartupstages.sql;
SP2-0920: HTTP error 'page not found (505)' on attempt to open URLSo far, you haven't specified your rdbms version and isqlplus behaved differently on a 9iR1, 9iR2 from the one release on 10gR1/R2. on 9i it was a servlet based on a JServ servlet executor machine, meanwhile on 10g it is a J2EE compliant application deployed on an OC4J container, so configuration is different.
You may want to take a look at these references -->
* Starting iSQL*Plus from a URL
* Creating Reports using iSQL*Plus
~ Madrid -
How to run the form that is only installed on a PC and not using a server?
Hi
I am new to Oracle and have taken the forms class. But I do not understand how to run the form from my PC using XP windows. (Do not have access to a server).
I have started the OC4J, made sure the listener was started, compiled the form and then when I run it, it automatically goes to the HTTP:
ERROR: res://ieframe.dll/acr_depnx_error.htm#,http://kevin:8889/forms/frmservle
I connected to the database correctly. I can process a report and it does nor try to access the internet. My only issue is running the form. I verified it compiled.
Sorry for a basic question. Could someone please help, I tried reviewing other questions, but not sure if they are connecting to a server or not.
I see webutil but is it required if I don't have a server? Thank you in advance.Regardless of the version, it appears that you may not have configured the Builder. Do the following:
1. Open the Builder
2. From the menu, select Edit > Preferences > Runtime
3. In the box labeled "Application Server URL:", enter a local URL needed to run a form OR click the button labeled "Reset to Default". If you decide to manually enter a value, it would looks something like this:
http://localhost:8889/forms/frmservlet
4. In the field labeled "Web Browser Location:", enter the path and executable to your preferred browser. So for example if IE is your browser of choice the entry would most likely look like this:
C:\Program Files\Internet Explorer\IEXPLORE.EXE
5. Click on OK and retest.
By the way, you can manually enter a URL in the browser. Clicking the RunForm button from the Builder is strictly optional. To run the "test" form directly from the browser enter the following into the browser's address field:
http://localhost:8889/forms/frmservlet?form=test
More information about Forms can be found on OTN:
http://www.oracle.com/technology/products/forms/index.html -
How to run SmartCard Application on PC
hi,
i want to know how to convert class file into a CAP file and how to run on PC a smartCard Application. when i use converter use from command prompt then it will ask the AID how i get the AID at Conversion time. pls tell me the procedure for Convert and run the application on PC.
pls help me.You can use the suggestions in the below blog to test your app on another PC.
http://blogs.msdn.com/b/patricka/archive/2012/11/05/how-do-i-deploy-a-windows-8-app-to-another-device-for-testing.aspx -
How to run the PioneerCyclingJSP and MotorPriseJSP modules at a time
Guys,
I would like to run the PioneerCyclingJSP and MotorPriseJSP modules at a time.
Could you please suggest me the steps to run both servers at same time on JBOSS 5.0 with ORACLE.
How to run a more that one server instance...
Thank youYou should be able to include both modules when building your ear file. Then both the module's war files will be created in the ear file. Access both the applications with their respective /PioneerCycling or /motorprise ( look for context root in application.xml)
If you want to run each application on different server, then
1. create 1 individual instances of jboss server for pioneer and another for motorprise
2. create additional dynamo server using command makeDynamoServer.bat motorprise 8861 8851
3. deploy each one on respective server folders in jboss
Use the appropriate ports to access ( say for ex:)
localhost:8860/pioneer
or
localhost:8861/motorprise
-karthik -
How to run a job in background programatically after 10 sec
Hi Forum,
Can anyone tell me How to run a job in background programatically after 10 sec..
Thanks in advanceHi,
Here is the example code
*Submit report as job(i.e. in background)
data: jobname like tbtcjob-jobname value
' TRANSFER TRANSLATION'.
data: jobcount like tbtcjob-jobcount,
host like msxxlist-host.
data: begin of starttime.
include structure tbtcstrt.
data: end of starttime.
data: starttimeimmediate like btch0000-char1.
* Job open
call function 'JOB_OPEN'
exporting
delanfrep = ' '
jobgroup = ' '
jobname = jobname
sdlstrtdt = sy-datum " You need to give the Date for execution the Job
sdlstrttm = sy-uzeit " You need to give the Time for execution the Job
importing
jobcount = jobcount
exceptions
cant_create_job = 01
invalid_job_data = 02
jobname_missing = 03.
if sy-subrc ne 0.
"error processing
endif.
* Insert process into job
SUBMIT zreport and return
with p_param1 = 'value'
with p_param2 = 'value'
user sy-uname
via job jobname
number jobcount.
if sy-subrc > 0.
"error processing
endif.
* Close job
starttime-sdlstrtdt = sy-datum + 1.
starttime-sdlstrttm = '220000'.
call function 'JOB_CLOSE'
exporting
event_id = starttime-eventid
event_param = starttime-eventparm
event_periodic = starttime-periodic
jobcount = jobcount
jobname = jobname
laststrtdt = starttime-laststrtdt
laststrttm = starttime-laststrttm
prddays = 1
prdhours = 0
prdmins = 0
prdmonths = 0
prdweeks = 0
sdlstrtdt = starttime-sdlstrtdt
sdlstrttm = starttime-sdlstrttm
strtimmed = starttimeimmediate
targetsystem = host
exceptions
cant_start_immediate = 01
invalid_startdate = 02
jobname_missing = 03
job_close_failed = 04
job_nosteps = 05
job_notex = 06
lock_failed = 07
others = 99.
if sy-subrc eq 0.
"error processing
endif.
Regards
Sudheer -
Hi Experts,
I am a BW consultant and new to webdynpro. Not sure how to run RSO_METADATA_REPOSITORY multiple times and by passing different parameter values each time(either taken from an a standard BW table or user provided - anything is fine) and build web pages with parameter name. Need help with direction on where to start.
Let me step back and explain my requirement:
In BW we have an object called transformation.
One way of generating documentation for transformation is highlight transformation and press F1. Then its documentation will be opened as a local web page.
I need these web pages for all transformations. This is my requirment.
I came to know that RSO_METADATA_REPOSITORY is beeing used to generate this web page.
The web link is something like below:
http://ubw05.xxx.com:8005/SAP/BW/DOC/METADATA/?page=BW_O_D&SystemID=BWPCLNT100&ClassID=TRFN&ID=0KHR6J65AIIUTCJZEC093K6XDFV909PB&objectVersion=A&sap-language=EN&sap-client=100
When i run this link seperately(not by selecting transformation and pressing F1) i need to enter login credentials to BW system.
My challenges is how do i pass login credentials and multiple transformation IDs to generate multipe web pages with each page named by transformation ID?
WHere to start? First of all is RSO_METADATA_REPOSITORY Webdynpro JAVA or webdynpro ABAP or can i use anything?
Since it is beeing opened as local webpages i assume it is webdynpro JAVa is that correct?
Thanks,
Raghuhello,
might be a problem with the version you are using.
regards,
the oracle reports team
Maybe you are looking for
-
hi, i am getting an error while am seeing the print preview of PO. "Processig routine ENTRY_NEU in program/smb40/FM06P does not exist" can any one suggest me how to fix this. regards subhash
-
Preview crashes when I try to print
Preview crashes when I try to print. Problem existed with Lion and continues with mountain lion. Says there is an error from EF 11895 (FF) plug-in. What is that?
-
Wily introscope issue after System refresh in solman 7.1 Sp11
Hello experts, Unable to remove old Production wily in quality system. An new wily has installed in development box but when i run Solman_setup -> basis configuration ->cofig wily Unable to unassign or delete old wily introscope Thanks , Rahul Yedapa
-
Where is the Just added link in iTunes 10.7
Updated to iTunes 10.7, where is the Just Added link hiddden, It was there last week.
-
I currently have a WRT54G on a home network. I am using WEP. This is convenient for guests with laptops as they simply need the key and SSID. If the network is changed to WPA will things remain as convenient? I don't understand how the rotating k