Help - Missing JAVA??
Hi,
I was trying to install two apps - one from OVI Store and the other from an online paying website (iguana.com.sg) for a game.
When I was installing the ebuddy from OVI Store, it prompts me missing attributes. and something like "invalid Jar file"./
the error message "invalid Jar file" appears again when I tried to download a game from iguana.com.sg which it should also support my HP model N97 mini.
I have called the nokiacare in Singapore but the problems is stil not solved.
Please advice.
thanks.
MK,
It appears that there is a typo in the page. The link should be to http://download.oracle.com/otn/java/help/ohj426_inst.zip
Please try that. We will correct the page shortly.
Hope this helps,
Ryan Pollock
Oracle Help Team
Similar Messages
-
XI Mail Adapter: sending emails with attachment with help of java mapping
Hi ,
On trying out the scenerio mentioned in the blog, using the java mapping provided
"XI Mail Adapter: An approach for sending emails with attachment with help of Java mapping
The scenerio works just fine.
But the payload as the content of the attachment is not getting generated in proper XML format.
I suppose it's because of the replace special characters code part..
Can anyone help me state the modification required in the code.
Thanks!
Regards,
Faria MithaniIt might be a codepage issue. Is your original payload UTF-8?
-
PI File adapter has a processing option u2018Empty-Message Handlingu2019 to ignore or Write Empty Files. In case there is no data created after mapping on target side then this option determines whether to write an empty file or not. But there is a catch to this option when it comes to using it with File Content Conversion which is described in SAP Note u2018821267u2019. It states following:
I configure the receiver channel with File content conversion mode and I set the 'Empty Message Handling' option to ignore. Input payload to the receiver channel is generated out of mapping and it does not have any record sets. However, this payload has a root element. Why does file receiver create empty output file with zero byte size in the target directory? Example of such a payload generated from mapping is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<ns1:test xmlns:ns1="http://abcd.com/ab"></ns1:test>
solution :
If the message payload is empty (i.e., zero bytes in size), then File adapter's empty message handling feature does NOT write files into the target directory. On the other hand, if the payload is a valid XML document (as shown in example) that is generated from mapping with just a root element in it, the File Adapter does not treat it as an empty message and accordingly it writes to the target directory. To achieve your objective of not writing files (that have just a single root element) into the target directory, following could be done:
Using a Java or ABAP Mapping in order to restrict the creation of node itself during mapping. (This cannot be achieved via Message Mapping)
Using standard adapter modules to do content conversion first and then write file.
can someone help with java mapping that can be used in this case?Hi,
You have not mentioned the version of PI you are working in. In case you are working with PI 7.1 or above then here is the java mapping code you need to add after message mapping in the same interface mapping
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Map;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import org.w3c.dom.Document;
import com.sap.aii.mapping.api.AbstractTransformation;
import com.sap.aii.mapping.api.StreamTransformationException;
import com.sap.aii.mapping.api.TransformationInput;
import com.sap.aii.mapping.api.TransformationOutput;
public class RemoveRootNode extends AbstractTransformation{
public void execute(InputStream in, OutputStream out)
throws StreamTransformationException {
// TODO Auto-generated method stub
try
DocumentBuilderFactory factory=DocumentBuilderFactory.newInstance();
DocumentBuilder builderel=factory.newDocumentBuilder();
/*input document in form of XML*/
Document docIn=builderel.parse(in);
/*document after parsing*/
Document docOut=builderel.newDocument();
TransformerFactory tf=TransformerFactory.newInstance();
Transformer transform=tf.newTransformer();
if(docIn.getDocumentElement().hasChildNodes())
docOut.appendChild(docOut.importNode(docIn.getDocumentElement(),true));
transform.transform(new DOMSource(docOut), new StreamResult(out));
else
out.write(null);
catch(Exception e)
public void setParameter(Map arg0) {
// TODO Auto-generated method stub
public static void main(String[] args) {
// TODO Auto-generated method stub
try{
RemoveRootNode genFormat=new RemoveRootNode();
FileInputStream in=new FileInputStream("C:\\apps\\sdn\\rootNode.xml");
FileOutputStream out=new FileOutputStream("C:\\apps\\sdn\\rootNode1.xml");
genFormat.execute(in,out);
catch(Exception e)
e.printStackTrace();
public void transform(TransformationInput arg0, TransformationOutput arg1)
throws StreamTransformationException {
// TODO Auto-generated method stub
this.execute(arg0.getInputPayload().getInputStream(), arg1.getOutputPayload().getOutputStream());
In case you are working in PI 7.0 you can use this code
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Map;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import org.w3c.dom.Document;
import com.sap.aii.mapping.api.StreamTransformation;
import com.sap.aii.mapping.api.StreamTransformationException;
public class RemoveRootNode implements StreamTransformation{
public void execute(InputStream in, OutputStream out)
throws StreamTransformationException {
// TODO Auto-generated method stub
try
DocumentBuilderFactory factory=DocumentBuilderFactory.newInstance();
DocumentBuilder builderel=factory.newDocumentBuilder();
/*input document in form of XML*/
Document docIn=builderel.parse(in);
/*document after parsing*/
Document docOut=builderel.newDocument();
TransformerFactory tf=TransformerFactory.newInstance();
Transformer transform=tf.newTransformer();
if(docIn.getDocumentElement().hasChildNodes())
docOut.appendChild(docOut.importNode(docIn.getDocumentElement(),true));
transform.transform(new DOMSource(docOut), new StreamResult(out));
else
out.write(null);
catch(Exception e)
public void setParameter(Map arg0) {
// TODO Auto-generated method stub
public static void main(String[] args) {
// TODO Auto-generated method stub
try{
RemoveRootNode genFormat=new RemoveRootNode();
FileInputStream in=new FileInputStream("C:\\apps\\sdn\\rootNode.xml");
FileOutputStream out=new FileOutputStream("C:\\apps\\sdn\\rootNode1.xml");
genFormat.execute(in,out);
catch(Exception e)
e.printStackTrace();
The code for PI 7.0 should also work for PI 7.1 provided you use the right jar files for compilation, but vice-versa is not true.
Could you please let us know if this code was useful to you or not?
Regards
Anupam
Edited by: anupamsap on Dec 15, 2011 9:43 AM -
Why is help missing from help dropdown menu?
Why is help missing from Ps CC help dropdown menu in preferences?
bumpkin wrote:
Why is help missing from Ps CC help dropdown menu in preferences?
???? I see help being shown in some of Photoshop preferences pages but both of you questions confuse me. -
Call Oracle Help for Java in Oracle forms running in the web
Hi, everyone,
We are developing a web-enabled Oracle database application
system. Oracle suggested us to use Oracle Help for Java(OHJ) to
create an online help system for the web environment. We
successfully created a OHJ program which can be independently.
But we still have no idea how to call this OHJ program from the
forms running in the web environment.
Could anyone help us out?
Thanks.
nullI would like to know if anyone has been able to do this too. Could someone respond if they have successfully gotten this to work?
Thanks!! -
i Need some help in Java Script,
am using the following code :
<script type="text/javascript">
var newwindow;
function poptastic(url)
newwindow=window.open(url,'name','height=300,width=400,left=100, top=100,resizable=yes,scrollbars=yes,toolbar=yes,status=yes');
if (window.focus) {newwindow.focus()}
else {newwindow.close()}
// if (window.focus) {newwindow.focus()}
</script>
In HTML,
thWorld Environment
Day, June 5<sup>th</sup>,2005
Am using onmouseover event, so that when my mouse in on the link, popup is opened....and when my mouse is out of the link, the new window should b closed....
but according to the above code, the new window is opened but have to close it manually....
Is there any other way to close the popup when my mouse is out of the linkPrawn,
This is not really a good way to make friends. With the cross posting and the posting in a wrong forum anyway thing you have going.
Please kindly take your question to an appropriate JavaScript forum.
Have a happy day.
Cross post from http://forum.java.sun.com/thread.jspa?messageID=3797201 -
Rename exported file in ODI with help of Java
Hi.
We have to implement new scenarios into execution repository. I marked scenarios and I exported them with help of procedure:
OdiExportScen "-SCEN_NAME=#scen_name" "-SCEN_VERSION=-1" "-FILE_NAME=#DEP_EXPORT_DIRECTORY\SCEN_#SCEN_NAME 001.xml" "-FORCE_OVERWRITE=YES" "-RECURSIVE_EXPORT=YES" "-XML_VERSION=1.0" "-XML_CHARSET=windows-1251" "-JAVA_CHARSET=cp1251"
But I have to put space between variable #SCEN_NAME and another part of file name. After export I want to rename file with help of Java script, but I get an error when I try to read list of files.
import java.io.*;
public class RenameFiles
public static void main(String[] args)
String dirPath = new String ("D:\\ODI");
File dir = new File(dirPath);
String dirList[] = dir.list(); /* I get error there*/
for(int i=0; i<dirList.length; i++)
File oldFileName = new File(dirPath+"\\"+dirList);
File newFileName = new File(dirPath+"\\"+dirList[i].replaceAll(" ","_"));
oldFileName.renameTo(newFileName);
Error in ODI Operator looks like:
org.apache.bsf.BSFException: BeanShell script error: Parse error at line 9, column 31. Encountered: [ BSF info: Rem at line: 0 column: columnNo
at bsh.util.BeanShellBSFEngine.eval(Unknown Source)
at bsh.util.BeanShellBSFEngine.exec(Unknown Source)
at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.k(e.java)
at com.sunopsis.dwg.cmd.g.A(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Thread.java:662)I fixed it.
All I need - put slashes at end of directory name. Also I removed implementation of class.
import java.io.*;
String dirPath = new String ("D:\\ODI");
File dir = new File(dirPath+"\\"); // I put \\ at the end of directory name
String[] dirList = dir.list();
for(int i=0; i<dirList.length; i++)
File oldFileName = new File(dirPath+"\\"+dirList);
File newFileName = new File(dirPath+"\\"+dirList[i].replaceAll(" ","_"));
oldFileName.renameTo(newFileName);
Edited by: user12281180 on Apr 14, 2011 7:44 AM -
Oracle Help for Java 4.2.0 and 4.1.17
Attention to all: Oracle Help for Java 4.2.0 and 4.1.17 are now available for download at
http://otn.oracle.com/software/tech/java/help/content.html
OHJ 4.2.0 features a new Ice Browser and enhancements related to the known modal dialog problem. It requires JDK 1.3 and is a recommended upgrade for all clients using JDK 1.3 or higher.4.1.17 appears to work correctly with RoboHelp.
4.2 gives an error when attempting to generate fts.idx via RoboHelp. -
Migrating from JavaHelp to Oracle Help for Java
Currently we have a product in which we have implemented Sun Microsystem's JavaHelp as the Help delivery system. However, after evaluating Oracle Help for Java we would like to migrate from Javahelp to OHJ.
My question is, how difficult would this migration be from the Development side? I have been reviewing the Oracle Help for Java Developer's Guide and comparing it against the JavaHelp documentation but I haven't been able to get a clear idea of how different the implementation is.
Thanks,
TheresaHello Theresa,
Thanks for considering Oracle Help.
There isn't much you have to do with your source content and control files. With the exception of the full text search index, the Oracle Help control file formats (helpset, index, map, etc.) extend the JavaHelp formats. So you can use the JavaHelp control files as is, or you can extend them with the Oracle Help extensions. For a quick overview of differences, see the following page in the Oracle Help Guide:
1. Go to http://otn.oracle.com/ohguide/help/.
2. Click "Oracle Help File Formats."
3. Click "Comparision to Javahelp File Formats."
To create an Oracle Help full text search index, run through the Helpset Authoring Wizard and remove the existing JavaHelp search view and have the wizard generate an Oracle Help Search index
on the following wizard page. For the Helpset Authoring Wizard doc:
1. Go to http://otn.oracle.com/ohguide/help/.
2. Click "Authoring Oracle Help Systems."
3. Click "Using the HelpSet Authoring Wizard."
Alternatively, change the helpset file by hand. For the doc:
1. Go to http://otn.oracle.com/ohguide/help/.
2. Click "Oracle Help File Formats."
3. Click "Helpset File."
Then run the indexer. For doc:
1. Go to http://otn.oracle.com/ohguide/help/.
2. Click "Authoring Oracle Help Systems."
3. Click "Using the Full-text Search Indexer."
On the development side, the APIs are different, but they are also very
simple. You create a Help object, add HelpSets, and associate topic-ids
with java UI components using the CSHManager as described in the
Oracle Help Guide:
1. Go to http://otn.oracle.com/ohguide/help/.
2. Click "Oracle Help for Java Developer's Guide." -
hi there,
can anyone pls tell me where i can get some help on 'java programing for math parser'? if the answer is yes then pls tell me where.I don't know of a parser that's part of the standard java library, but surely there must be tons of stuff findable with Google. Have you tried to google this?
-
Help on java.sql.Types class
Hai Friends ,
I want some help on java.sql.Types class .
What is the use of the above class ?
Some details about this class.Good Morning Yekesa
First of all i would like to thank U for looking into my problem.
I am using java.sql.Types.OTHER for
{"?=CALL(storedprocedurename.functionname(?))"}
registerOutParameter(1,javal.sql.Types.OTHER)
setString(2,"user")
here the
second parameter passes an argument to function name ( viz. username say "user")
and the function will return the ref cursor as follows:
// declaration in pl/sql procedure
begin
rc ref cursor
open rc for select * from ss_user where login_name="user";
return rc;
end
now the stored procedure has a return value (i.e. stored function) which it needs to register as
registerOutParameter(1,javal.sql.Types.OTHER)
and it finally results in the following errors :
Loading driver
Before conn stmt
After conn stmt
Calling Stored procedure
Stored procedure called
java.sql.SQLException: Invalid column type
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:243)
at oracle.jdbc.driver.OracleStatement.get_internal_type(OracleStatement.java:2487)
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:64)
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:54)
at sptest.<init>(sptest.java:28)
at sptest.main(sptest.java:49)
T couldn't understand why it is saying Invalid Column Type because its working fine with both
java.sql.Types.INTEGER
and
java.sql.Types.VARCHAR
Pl help me at the earliest as i have wasted a lot of time on it.
pl mail me in detail at [email protected]
bye then
bansi
null -
I am using Windows 7 premium 64-bit. I have uninstalled Java completely through Windows program manager. There is no Java in my list of plugins. Every time I update my plugins I get the following message - "Missing JAVA? For your safety, Firefox has disabled your outdated version of Java. Please upgrade to the latest version." I cannot find Java anywhere on my computer. Checked every troubleshooting website I can find but there seems to be no solution.
hello, is this happening on the plugin-check page - https://www.mozilla.org/plugincheck/ ?
if so, you can probably safely dismiss this warning since it's likely a mistake. when java isn't present, the site will give that warning message though a webpage cannot detect if this because of java being blocked or if it isn't even installed on the system. -
XMLBeans build aborted because project was missing Java nature.
I always get this project level error in an OSB Project in Workshop whenever I add XMLSchema resources to the project and try to create XQuery Transformation resources. The project is then unusable and may not be deployed to OSB. I have tried adding the Apache XMLBeans and Java 6.0 facets, but that does not eliminate the problem. I can delete the project, create a new project, and copy all of the files from the old project to the new project but, as soon as I attempt to edit the XQuery Transformation, the error returns. The OSB Project in Workshop is, essentially, unusable if you want to add XQuery resources to your project. An OSB project without XQuery resources is just a Webservice, so using OSB isn't necessary. The only thing we have found that works it to edit the project in the OSB console.
The full error string in the Problems View is:
XMLBeans build aborted for project XXX because project was missing Java nature.
Any workarounds? Solutions? Configuration changes?
Edited by: TWhitehead on Dec 16, 2009 2:35 PM
XMLBeans build aborted because project was missing Java nature.
Edited by: TWhitehead on Dec 16, 2009 2:36 PMFYI... This issue was a result of installing WLI 10gR3 into the same HOME as OSB/ODSI 10gR3. I am able to publish the projects iwith the error into a local WLS but can not export into a jar file for import into a seperate WLS. I would like to keep WLI and simply "fix" the java nature issue if possible.
Thanks in advance -
XMLBeans build aborted for project ...project was missing Java nature.
I always get this project level error in an OSB Project in Workshop whenever I add XMLSchema resources to the project and try to create XQuery Transformation resources. The project is then unusable and may not be deployed to OSB. I have tried adding the Apache XMLBeans and Java 6.0 facets, but that does not eliminate the problem. I can delete the project, create a new project, and copy all of the files from the old project to the new project but, as soon as I attempt to edit the XQuery Transformation, the error returns. The OSB Project in Workshop is, essentially, unusable if you want to add XQuery resources to your project. An OSB project without XQuery resources is just a Webservice, so using OSB isn't necessary. The only thing we have found that works it to edit the project in the OSB console.
The full error string in the Problems View is:
XMLBeans build aborted for project XXX because project was missing Java nature.
Any workarounds? Solutions? Configuration changes?This is a strange error, because OSB projects do not use facets/natures/builders provided by Eclipse for any resources within the project. OSB has its own mechanism for validation on OSB Projects, so it's surprising to see any error messages from an XMLBeans builder relating to the Java nature.
Can you look at the OSB Project's properties and see if there are any facets/natures/builders/validators on the project?
The only builders should be:
- Faceted Project Validation Builder
- Validation
The only facets should be:
- AquaLogic Core Facet
- Oracle Service Bus
The following Validators should be disabled:
- WSDL Validator
- XML Schema Validator
Thanks,
Nadeem -
Missing java file via eclipse.please help
There is a java file missing in my eclipse when i do an update
via svn.
the error class the class shows 'Trade cannot be resolved to a type
How do I import via SVN fo that specific file that is missing?
I tried doing a fresh update but still its missing?
please helpSuresh,
there are multiple ways to achieve that. If it is a "pure" java application create a java project.
If you put java files into portal, webservice etc projects, they be compiled with the projects build process.
To compile a single class you have also the option to configure an entry in the tool section (which points to javac for example) and run the tool, when your file is open (like in Visual Studio).
-kai
Maybe you are looking for
-
Consuming a Web Service with ABAP in WAS 6.40 (SS3)
Hi Everyone, Has anyone successfully consumed a web service (based on an EJB) that is published to the J2EE engine of their WAS 6.40 server by creating a proxy from the ABAP layer? We are encountering the following problem: When executing m
-
Hi, I'm trying to insert a JPanel based ActiveX into Words documents, I've used the Sun example (http://java.sun.com/j2se/1.4.2/docs/guide/beans/axbridge/developerguide/index.html) but it doesn't work. When I try to insert the JellyBean exemple in a
-
Re: HELP!! JTextField.getText() is not working
I have the same problem for JDK 1.3. Did you finally figure out the problem?
-
Must not combine new AIRSDK with Compiler with FLEX SDK?
Hi Guys I've found this whole SDK overlay business a mess and very confusing. I've found this document - http://www.adobe.com/devnet/air/articles/ane-android-devices.html which states 'The distribution of the AIR SDK with ASC 2.0 is for pure ActionSc
-
Help Resolve this ERROR please!!!!!!
I have had an iweb site, however today I have started to receive this error message when I try and view images in the photo gallery. The rest of the site works fine the blog etc. The Error message is SORRY but we can't find the iWeb page you've reque