I'm trying to convert oracle forms FMB files to XML. To do this I'm using forms developer 10's native Java tool. This works fine on my local computer but I'm trying to automate the conversion process on a server.
I've taken the main folder "Dev10G" from my forms install directory and added it to the server, but I'm getting the error that you can see in the screenshot. I'm trying to avoid doing a full install of forms developer on the server if I can help it. Has anyone any suggestion on what I might try next.
Thanks
You need to exit the bat file in textpad.
You will then need to change the paths.
I you need extra help feel free to checkout my note how to do it here
https://oracleformsinfo.wordpress.com/2011/12/16/batch-script-for-fmb-to-xml-and-xml-to-fmb/
Related
I have a web application running in AIX server and the requirement is to read an IDML file, get the coordinates of each and every text in the file and write some custom information into a PDF based on the coordinates.
I have gone thru various documents and forums on how to setup or what is required to achieve this, but I am confused. I need some information on what is required from software and licensing perspective in order to achieve this requirement.
In order to run the java program, which can access IDML file in AIX server, do I have to buy InDesign Server license or I can extract the IDMLTools.jar from SDK and place it in my ClassPath?
Where do I find IDML SDK? I am unable to access IDMLToolsLib.com site?
Any help is appreciated.
Thanks,
Satish.
There is a Java lib IMLLib. It intends to ease the idml file exploration. I never used it myself but it seems a great tool.
Video:
https://www.youtube.com/watch?v=LQqd9NgH8W4
Site:
http://idmllib.com/
Why not unzip the IDML and parse the resulting XML files?
I have an application that has an applet that does two simple things:
Download an executable jar file from our server (if the user doesn't already have it) to an specific folder in the user's PC
Execute the jar file with the corresponding parameters
This jar file monitors an Office file for changes and send it back to our server.
The problem is the war Chrome is creating with Java with this NPAPI thing. So I have until September to think of an alternate technology or stop the Chrome support.
Do you think of some other way to achieve the same result? Just download and execute. Doesn't seem that hard =(. Can HTML 5 do that?
EDIT
I was looking into Java Web Start and became a little happy. It appears that it can do what I want: executing a up to date jar file passing parameters. But I never worked with JWS, so I have some doubts:
Is it possible to pass parameters to it? I read about some JSP files that you can configure to do that, but I'm still unsure.
Theoretically, it should start automatically from a browser link, am I right? I tried this site:
https://docs.oracle.com/javase/tutorial/deployment/webstart/running.html
and it didn't work that way. I had to mark "always open files of that type" on Google Chrome. Is there a way for automatize it?
Thanks again!!
From what I know there are at least two things that allow you to stick with Java.
Webstart
Install4
Webstart is provided by Oracle and allows you to download Java program from the web and execute them. Update mechanisms exist, so you can always provide a current version.
Install4J (or any other installer for Java applications that offers an update mechanism) provides an installer which enables your customer to install an application which afterwards will be kept up to date by the integrated update mechanism. But Install4J comes at a price, there might be freeware / open source alternatives. Install4J and its alternatives are often discussed here on SO, you might want to check here.
I think the FileAPI of HTML5 is limited and can not access arbitrary files because a sandbox prevents this. You might check SO again for details about that.
I am using gwt to develop java project. I want to open .exe file that is installed on client machine. I have searched on internet but didn't find a suitable solution.
You cannot access any files on a user's computer from a web browser. Otherwise, every computer in the world could be be easily hacked.
You can offer a user to install a program, and then ask this user to start this program, but you cannot install and run this program yourself.
No its not possible
At least it is not specific for GWT in comparison with other Javascript ways to do this. i.e : If there is a way to do this then it is a huge bug and security flaw in the browser.
You can offer the file for download and let the user execute it. But I guess that is not what you want.
As a project, I wanted to build a personal website using Java for the server-side code. I am very new to Java and wanted to know if it was possible to write Java using a simple text editor, upload the file into a file directory in Apache Tomcat where the corresponding JS and HTML file sits (for practice purposes only), and then run the web project through the HTML file.
I do this with php through LAMP all of the time, and was hoping Java might work that way as well.
Yes its very much possible. Even though you may find it bit difficult without the help of IDE, this should not make any difference. Convert the files to proper class files and upload it, that should do
Though i agree with above answer.But you can also go for hot deployment plugins for example mvn:jetty plugin for hot deployment of your website, but for that it needs to be maven project.Also grails and many other framework has this features inbuilt.
I took the advice I've been given here to look at IzPack to create a JNLP based one click installation for computer illiterate clients who are using a Java desktop application I've created.
Java Web Start Driven Installation
However, I can't seem to find my way around it.
I don't know where to begin and seems the online tutorials are basic "look at the examples" which are themselves pre compiled and not sourced.
I want to create a simple form - be it in JSP or the JNLP install app (preferably JSP and the JNLP should get arguments from the JSP that launches it).
Then when the users click Install, the program installs to the default directory of userappdata with no questions (except for the UAC).
But IzPack seems to be forcing me to use panels and stuff... Not sure I want all of that.
Or maybe....
Hmmm, writing this just gave me an idea, but I'd still like some feedback.
Thanks.
Another approach perhaps?
If all what you need is to allow the user invoke a JAR, then consider using JSmooth to wrap it in an exe file. The exe file knows how to invoke java correctly and prompt the user to download if not present.
We also have used one-jar to wrap multiple jars in a single jar for exactly this purpose.