Jarred .java file, how to use it?
for a naked .java file, we can use -classpath to import it to our source files.
but for a jarred .java file, can we import it into our source file for use?
i tried for few hrs, it is impossible.
if u have used a jarred .java file before, pls give me a hand.
thx
but for a jarred .java file, can we import it into our source file for use?No. And this has nothing to do with jar files at all. You don't import .java files, you import .class files.
Similar Messages
-
What is the use vss in java and how to use it?
can i know what is vss in java and how to use it and also can you tell me related vss like svs?
and what are tools for configuration in real we will use?
am i student i want to know these all?jduprez wrote:
You do not need to know them all, but one for sure, since it is a must for multi-developer team.8o( ?????
It is a must. Period.
OK, let's tone down: it is a must for any job related to software production. Not only development.That begsl the question, What does it mean to "know" one of these systems? I would expect Product Management, Documentation, QA, and Support staff to be conversant with the fundamentals of such a tool--check in, check out, version/revision numbers--but not much more than that. Developers, on the other hand, I would generally expect "know" the system with a much higher level of expertise--query language, branching, merging, and so on. -
I need this file "How to Use the Content Conversion Module in JMS Adapter"
Can someone send me this file:
"How to Use the Content Conversion Module in JMS Adapter"
I am not able to find it.
Thanks
Antonellopls refer guide
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-adapters/how%20to%20use%20the%20content%20conversion%20module%20with%20xi%203.0%20j2ee%20jms%20adapter.pdf
Regards,
Swetha. -
Hi,
Could anybody explain me where (in which directories) jar/ java files are situated in APPs and which is the difference between the jar files situated in COMMON_TOP and APPL_TOP ?
Thanks,
Paulsorry, maybe i didn't state this clearly enough. basically, i have sets of libraries: app server library and middle-tier client libraries these are installed with each client machine and need to be updated accordingly with the libraries resided in the weblogic app server. now, the way i update these libraries is to uninstall/reinstall the client app each time. i am looking for ways to update in 1 place, ideally in the weblogic app server, then each time the client app starts, it will be notifed of these updates and maybe download these updates from the app server automatically...This will save me the hassle to uninstall/reinstall the client app each time, even small changes in the interfaces...
-
How to use line wrapping and line spacing in java?how to use line wrapping
how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?how to use line wrapping and line spacing in java?
Hello,
You should post your question at:
http://java.forum.sun.com
Thanks
- Rose -
How to write select statement directly in java file instead of using vo
Hi,
I have written the following code in my java file:
if(empvo==null)
empvo=worklistamimpl2.createViewObject("InvoiceVO", "xxetfc.oracle.apps.icx.icatalog.shopping.server.InvoiceVO");
if(empvo!=null){
OAViewObject oaviewobject2 = (OAViewObject)worklistamimpl2.findViewObject("InvoiceVO");
OAViewObjectImpl oaviewobjectimpl = (OAViewObjectImpl)oapagecontext.getApplicationModule(oawebbean).findViewObject("InvoiceVO");
oaviewobject2.setWhereClause("Invoice_num="+" ' " + s + " ' ");
oaviewobjectimpl.executeQuery();
String abc = (String)oaviewobjectimpl.first().getAttribute("Invoice_id");
It is giving me error as
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (select invoice_id from ap_invoices_all) QRSLT WHERE (Invoice_num='ERS15022012_3')
1. Why is this error coming.. how to solve this
2. Instead of using vo how can i write select statement directly in the above code
Thanks,
Edited by: user10873676 on Apr 9, 2012 1:18 AM
Edited by: user10873676 on Apr 9, 2012 1:21 AMit says java.sql.SQLSyntaxErrorException: ORA-00904: "INVOICE_NUM": invalid identifier
where as invoice_num column is present in my table -
How to convert a .class file into .java file without .jad using DeJDecompil
Hi all,
I am using DeJDecompiler and working with swing applications.If I try to convert a .class file into .java file,it is converting into .jad file only.Fine but if I try to save that file into .java file,It is giving lot of errors in that program.When I went into that program the total style of the program is changed and TRY-CATCH block is not recognised by the dejdecompiler,hence If I try to include some methods in the existing .java file thus got,I could not do.Kindly help me.
If I get the .java file without error then I can process the rest of the functionality.
Thanks in advance
With kind Regs
Satheesh.KNot so urgent today then!
http://forum.java.sun.com/thread.jsp?thread=553576&forum=31&message=2709757
I'm still not going to help you to steal someone�s code. -
Java mapping how to use com.sap.tc.logging
Hi I would like to know how to use logging within a java mapping.
I know i have to use theese classes : Location, Category, ConsoleLog but i dont know how.
1) How to load the P1, P2, P3 and P4 tags in the Error tag of the SOAP header watched in SXMB_MONI
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">STREAM_TRANSFORMATION_EX</SAP:Code>
<SAP:P1>SwissMedical/Interfaces/IFI002/LiquidacionMapping~</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Java mapping of application triggered an exception</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
2) How to load and activate log in the DIAGNOSTIC tag of the SOAP Header.
- <SAP:Diagnostic xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:TraceLevel>Information</SAP:TraceLevel>
<SAP:Logging>Off</SAP:Logging>
</SAP:Diagnostic>
Thanks!!As already suggested, you can display custom messages using AbstractTrace.
trace = (AbstractTrace)param.get( StreamTransformationConstants.MAPPING_TRACE );
trace.addInfo("G1-CYCLE is missing");
For more on coding front refer:
http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/api/StreamTransformation.html
To get this trace seen in MONI, set parameter TRACE_LEVEL in SXMB_ADM to 2. -
PSE, multiple Windows users for same files - how do use the same profile?
I have collected all my digital media into a NAS unit, available on my LAN. All users have their own users on to the LAN, but I would like to share one "profile" for all when it comes to the PSE view of my pictures, so that we can all use the same tagging, importing by different users onto shared storage should be visible for all in Organizer etc.
I'm simply not understanding the project concept of PSE ("My Catalog") to make this happen myself - could some of you knowledgable people give me a hint on how to accomplish this?
I fail to believe I'm the only one with family pictures that several persons should be able to work with together.
TIA
//Niklas
Ps. I used to work in PSE7, have recently upgraded to PSE9. Have a WinXP / Win7 environment with multiple users and multiple computers, not domain-controlled.I've done this years ago using PSE3-6, but had less than satisfactorily results.
I would not recommend it as your DB might get seriously compromised.
You could however, copy the whole Catalog-directory and -files to each local host and then update these files on a regular base from the "master" host on to the other "clients". You'll want the master host to be the only one allowed to make changes/updates/deletes to the DB.
The prerequisite is that the NAS-share will have the same driveletter/full path on each client, otherwise you'll have to reconnect thousands of missing files each time the path/driveletter changes.....
Maybe APE9 is less finicky and allows to do exactly what you (and me too....) want.
I'll try it in the near future when I'll have time to play with it more and let you know if you're still interested then. (can take months... ) -
How to write multiple inputs into 1 file + how to use PWM
hi,
I wanna take analog inputs from 2 channels, then write them into a single file, have them the data plotted on 1 graph. how can I do that?
also, I wanna output 2 PWM signal lines after some calculations with the data of those 2 channels. how can I do it?
another thing:
can I use Labview to make a state-obersver program?
the board I am using has part number: 183554C-01. it is a DAQ Signal Acessory.hope this helps:
Harold Timmis
[email protected]
Orlando,Fl
*Kudos always welcome
Attachments:
senddatatoonefile.vi 15 KB -
'Open URL or file' - how to use a relative file path?
I have a click box on a slide that I want to use to open an instance of a file (ie a PDF, a JPG, etc) in a new window, then when the user closes the window the Captivate demo continues.
My plan is to distribute this file with the published project and have it sit in the same folder as the project files.
I think that I have worked out all the processes to do this except how to correctly set up the click box. In the click box properties I have 'Open URL or file' on success, but how to enter the information in the URL text box is challenging me. An absolute path to the file on my computer works fine. Can I specify a relative path so Captivate defaults to using a file stored in the same folder as the published project?
I have attached a sample of the file I want to use.Hi there
See if the link below helps.
Click here to view
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
Error Hospital java action : How to use getVariableData
Hi all,
I'm playing with Error Hospital and try to use the getVariableData of the IFaultRecoveryContext class. I use something like :
iFaultRecoveryContext.getVariableData("inputVariable","payload","/client:BPELProcessTestPLProcessRequest/client:lastname");
to get the lastname value of my current BPEL instance. But the result I get is oracle.xml.parser.v2.XMLElement@f6fd93
Is anyone know how to get the value ?
ThanksI finally found a solution ... I cast the line :
((Node)iFaultRecoveryContext.getVariableData("inputVariable","payload","/client:BPELProcessTestPLProcessRequest/client:lastname")).getFirstChild().getNodeValue();
Thanks for your help -
Embedded Files, how to use URLs
We have some preliminary code which can embed files within PDF documents. We were trying to extend it by having the FS entry of the Filespec dictionary be /URL and the F entry an RFC 1738 URL. While it displays correctly in Acrobat, attempting to open it gives an error 14.
Are URL Filespecs prohibited in embedded files?Offhand, I can't think of any explicit restriction in the language that prohibits it - but in restrospect, it really doesn't make sense that you can have a non-embedded file in the embeddedfiles name tree ;).
I'll make a note to get that fixed in the next version of the spec... -
Hello. I have my personal iPhone 5 which is setup up to my iTunes on my PC laptop. My job gave me an iPhone 4S. With my 5, I like to make ringtones with the ringtone maker app. I have them saved into iTunes. I want my 4S to be able to access those ringtones. When I hook up the 4S to my laptop, iTunes prompts me to create a new phone or restore from backup. I don't want either. I want to be able to connect the 4S and gain access to what I would see in iTunes as if I sync the 5. Thank you.
Also, if you need this information, When I download apps to my 5, they also appear on my 4S.http://support.apple.com/kb/TS1323
http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf
The iphone is designed to be synced with a computer. It is not a stand alone device. If the only place the contacts are is the iphone, then this (in my opinion) is a major mistake and not the way the iphone was designed. -
Hi All,
How to view the change immediately after a java file that is used in jsp is modified
without restarting server or redeploy?
Moreover, it is better to keep the original session.
Any suggestion is appreciated.
Kammau
Hi,
In order to have a new version of a java class, the current classloader must be
deleted and a new one created. This is what redeployment does. I believe that
this is more of an issue with Sun's implementation of classloaders. You could
ask BEA support (719.232.7878) and see if they have any plans to periodically
check jar files to see if java class file timestamps and destroy and re-create
classloaders on the fly.
1) You will still have to accept the performance hit of destroying classloaders
and creating new ones. There isn't any way around that.
2) I would think you would want to have more explicit control in production and
integration anyway.
You can redeploy applications from the command line (script) file not just the
console.
Hope this helps,
pat
"Kammau" <[email protected]> wrote:
>
>Hi All,
>How to view the change immediately after a java file that is used in
>jsp is modified
>without restarting server or redeploy?
>Moreover, it is better to keep the original session.
>Any suggestion is appreciated.
>
>Kammau
Maybe you are looking for
-
Can I switch harddrives from one macbook to another macbook?
I have a macbook early 2008 and I want to switch my harddrive to a macbook late 2008. Can I just unplug the current harddrive to new one? Is there anything I need to do to prepare? I've seen the video how to replace a harddrive for a macbook 2008 uni
-
Help with queries in a JSP to MS Access DB
I'm trying to use a JSP to query an MS Access database: If I create the following query in MS Access it works no problem: SELECT * FROM EMPLOYEE_VACATION WHERE Department="Laboratory"; If I try to duplicate the query in my JSP as shown below: ResultS
-
Why won't Safari load up and textedit work properly?
Last night I turned on the computer and broadband modem to take a look on the internet. Initially I thought there may be a problem with the broadband connection -safari wouldn't load up, internet explorer wouldn't connect (but did load up) and itunes
-
SOME SERVICES STOP AUTOMATICALLY IF THEY ARE NOT IN USE BY OTHER SERVICES OR PROGRAMS
I currently install a software that needs to have a services run in order to for the license to be detected.When i run the services manually i got this error message 'THE UBSLAN_LDR SERVICE ON LOCAL COMPUTER STARTED AND THEN STOPPED.SOME SERVICES STO
-
MBP suddenly slow/lagging - pls somebody skilled with EtreCheck tell me what's wrong?
I love ASC for hands-on advice to try oneself however this time I am in it too deep: My sons MBP suddenly became lagging and unresponsive/very very slow... ie. the swirl-thing comes up 1-2 secs AFTER clicking the apple-icon and the menu yet another 6