Sending java applications to clients
Hi
After developing and launching a java application from the command prompt with java classname, how do I deliver the application to end users etc so that they won't have to
a. install jre (i guess it would have to determine if they have a jre already installed)
b. launch it from the command prompt and see the dos window
stev
Hi Quick question if I may.
You said " So if they double-click the JAR file and its set to execute, "
Is there something that I as the programmer have to do to make it "set to execute" ?
Also I noticed on your web site you launch your programs with javaw -jar JEditor.jar
I'm guessing that's what the shortcuts should point to right.
Thanks in advance
stephen
Similar Messages
-
How to checkout documents in a WD Java application to client workstation ?
Hello,
I need to make some local checkouts of documents from DMS SAP in a Web Dynpro Java application.
I develop a specific Bapi which is using the following functions : bapi_document_getdetail2 and
bapi_document_checkoutmodify2.
This Bapi works well when I call it from an abap program.
But when I try to call it from a WD Java application, the part of my bapi which interacts with the local workstation don't work.
By example, when I try a checkout into C:\... or into
server\.... :
- it works when this Bapi is called by an abap program.
- it doesn't work when this Bapi is called by a WD Java application.
Could you help me ?
Thanks a lot for your help.
MathieuThe solution is :
- checkout on the application server (CVAPI_DOC_CHECKOUTMODIFY)
- read the file (READ DATASET)
- transform to xstring (SCMS_BINARY_TO_XSTRING)
- export by BAPI
- read the xstring field in WD java application (IWDResource)
- popup to edit the file locally (IWDWindow) -
Ready to send my application to clients
Hello All,
Using VB2012, Installshield LE, and deploying method is ClickOnce.
I am done testing my app and ready to send it to my clients. But, I'm not sure about the Debug & Release section in the VS2012 IDE.
I'm thinking that I should select Release and then re-compile. Is this all I have to do?
Right now I have Configuration set to: Debug (Active Debug) and I have Platform set to: x86 (Active x86).
Do I need to select any of the options in the 'Enable Debugger' section? - mine has 'Enable the Visual Basic hosing process' checked.
Thanks,
ADawn
ADawnHi ADawn,
Although Installshield LE is supported to be installed from Visual Studio IDE, it is actually a third party tool. Do you mean you are using InstallShield LE or ClickOnce technology?
Debug/Release difference
http://msdn.microsoft.com/en-us/library/kkz9kefa(v=vs.110).aspx
I think it is better for you to publish under Release mode, which is suggested here:
http://stackoverflow.com/questions/6136758/visual-studio-publish-in-debug-vs-release-mode
Regards,
Barry Wang
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. -
Error sending IDOC from external Java application to Sap ERP system
Hi Experts!
When I try to send Idoc from Java application to XI an error occurs : no service for system CLNTJAVA, client in Integration Server.
My question is: What value the setSenderPort() is excepting?The Java third party business system's logical name or the ERP business system's logical name where the JCO can be found?I tried both of them, but still have the problem.
Please help. I read all threads about this error, but non of those can help me.
My relevant java sourcecode:
doc.setSenderPort("CLNTJAVA");
The XI documentation says that:In the case of non-SAP senders, the entry in the SNDPOR field is interpreted as a logical system name, and the corresponding business system is searched for in the runtime cache.
Both case(third party business sytem and erp business system) I have configured the ID i think correctly. I made a business systems,I configured the adapter specific identifies,I made the IDX1 port,I made the RFC destination,I polled the IDOC type with IDX2 transaction, I have made full cache refresh,I configured the INTEGRATION_DIRECTORY_HMI rfc destination,but I do not made any communication channels, receiver determinations, receiver agreement.
My configurations if it can help for you.
Hostname:sapsp5
System name: NE2
Clients:
000 ERP
001 Integration Server
<b>SLD configurations:</b>
Third Party Technical system name: Java_sytem
Business System:CLNTJAVA
Logical system name: CLNTJAVA
<b>ID configurations:</b>
Business System:CLNTJAVA
adapter-specific identifiers:logical system:CLNTJAVA, <u>the rest is initial</u>,because I cant change it.
IDX1 port name: CLNTJAVA the client is 001. the rfc destination is client_001.
I think the IDX1 port and the adapter specific identifiers are wrong. is it?
my java source if the sender is the JCO
doc.setSenderPort("INTSERV");
My configurations if the sender is the JCO.
<b>SLD configurations:</b>
Technical system name: NE2
Business System:INTEGRATION_SERVER_NE2
Logical system name: INTSERV
<b>ID configurations:</b>
Business System:INTEGRATION_SERVER_NE2
adapter-specific identifiers:logical system:INTSERV,system NE2,client 001.
IDX1 port name: INTSERV the client is 001. the rfc destination is client_001.
Could this error be an autorization error?I tired to connect to the xi from the Java, with the user PIISUSER extended with PISUPER roles.
Thank very much.Hi!
My SNDPOR already set to my source business system's logical name if you check my configurations(JAVACLNT), so there is another problem unfortunately. I set SNDPRN to JAVA, but it still does not work.
Check this configuration please(posted here:
No service for system ... in Integration Directory)
doc.setMessageType("ACC_DOCUMENT");
doc.setRecipientPort("SAPSE1"); // get stuck in XI mapping if not set
doc.setRecipientPartnerType("LS");
doc.setRecipientPartnerNumber("SE1CLNT500");
<b>doc.setSenderPort("SAP3MA");</b>
doc.setSenderPartnerType("LS");
<b>doc.setSenderPartnerNumber("TREMACLNT");</b>
doc.setClient("100");
Inside XI configuration integration builder
<b>Business Service: Service: TREMACLNT</b>
Under the menu Service - Adapter specific identifiers
Idoc Adapter Logical system: TAPPMAN (This thing is important when sending idoc XI -> SAP and should match the logical sys in the receiving SAP system)
IDoc Adapter and RFC adapter R/3 Sysytem ID: 3MA
Client: 100
In IDX1 trans
<b>Port: SAP3MA</b> (Note that the 3MA here is matched against the IDoc Adapter and RFC adapter R/3 Sysytem ID: 3MA)
(a not so well documented feature)
Client: 100
RFC Destination: SE1 (A SAP test system from where IDOC def can be imported, rfc dests are setup in SM59)
I guess that your idx1 port name is the same as the SNDPOR value. I think it should be, because the XI is whatching the IDOC traffic in the idoc adapter port, so you should send the IDOC from external system to the adapter port. Is it right?
My idx1 port is the same as my SNDPOR value in Java,but still came the error. -
Sending public key to not java application
Hi,
I'm trying to send through a socket connection a public key encoded on X.509 standard, but the key.getEncoded() method returns a array of bytes,How can I convert this array of bytes to a sequence of characters that can be readable by any not java application???Is possible to make this public key readable for any not java application??How can I do that??
How can I send the public key to a not java application??
Thanks.Thanks for helping, but if I use Base64 encoding does the client have to use a base64 decoder before having to use the public key??
The major problem is that my client is a perl application that uses openSSL, I think it will not understand the key if I send it in Base64(the perl application uses a openSSL API to make the received public key in X.509 back to public key)... -
Storing chinese in client odb from java application
Hi all,
first i like to thank Greg Rekounas for his wonderful support and contribution....
This is my server setup.
os-windows 2000 sp4
db-oracle 9ir2 (unicode with AL32UTF8 charset)
lite-oracle10g r2 (with latest patchset)
nls_lang- AMERICAN_AMERICA.AL32UTF8
storing and retriving chinese in oracle 9i database from isql*plus works.
lite configuration.
1. In $OLITE_HOME\mobile_oc4j\j2ee\mobileserver\applications
\mobileserver\setup\common\webtogo\webtogo.ora file edited the JAVA_OPTION
to:
JAVA_OPTION=-Djava.compiler=NONE -Dfile.encoding=UTF8
2. In $OLITE_HOME\mobile_oc4j\j2ee\mobileserver\applications
\mobileserver\setup\dmc\common\win32.inf file, added the following:
a. In the <file> section, added the following:
<item>
<src>/common/win32/olilUTF8.dll</src>
<des>$APP_DIR$\bin\olilUTF8.dll</des>
</item>
b. In the <ini> section, added the following:
<item name='POLITE.INI' section='All Databases'>
<item name="DB_CHAR_ENCODING">UTF8</item>
</item>
<item name='POLITE.INI' section='SYNC'>
<item name="DB_ENCODING">UTF8</item>
</item>
published the application developed in java using packaging wizard.
downloaded the client in the pc with the following config:
windows 2000 (english)
nls - default.
installed chinese language support.
tried to access 9i database from isql*plus and stored & viewed chinese characters sucessfully.
tried to store a chinese character from java application in the client odb -- failed.
values are getting inserted from the application but when i view them back it shows & # 2 6 0 8 5 ; (i have included a space in between all 8 characters.
but when i copy this no and paste in msword it shows 日(chinese character)
i dont know the exact reason for the above scenerio...................
Also please help me on this too.......
why can i store & view chinese characters sucessfully in isql*plus from the client machine while i cannot do the same on client odb from java application even though the lite config are done to support utf8?
is anything i left out?
should i do any codes changes in java?(java application is of verision jdk1.4_13)
Thanks,
Ashok kumar.GSorry for late replay!! in the SharePoint server both the Claim based and Classic mode is enabled in the server, but still I want to get authenticated via Classic mode just like it happens in SharePoint 2007 and 2010, so do i have to use a different
set of classes to do that if yes can you please tell me those ? -
Java-Application send a param value to a JSP
Hi All
I'd like to ask you if can possible to send a param value from Java-Application to JSP file, If yes please provide me with any example or notes. I know that there are a contribution for a communication with an applet to JSP, but with application i don't know.
Thank youCheck this out...
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Servlets5.html#73895 -
How to run a pure java application client with ear deployed on 9ias
Hello all,
We want to run a pure java application client which is packed with target bean in the same ear file. In the application-client.xml we refer to some EJBs.
We deployed the ear file which contains ejb jar module and application client module to oracle 9ias 904 through enterprise manager on unix. The jndi.properties we used looks like this
java.naming.factory.initial=com.evermind.server.rmi.ApplciationClientInitialContextFactory
java.naming.provider.url=opmn:ormi://opmn_host:opmn_port:oc4j_instance_name/application_name
java.naming.security.principal=test
java.naming.security.credentials=test
Is there anybody knows how to run such an application client? Do we need to provide such a jndi.properties or not at all?
Thanks,
9ias userRefer OpenEJB User - Oracle ADF Essential and TomEE+
Also refer Bug in tomee 1.5.2. Fixed in 1.6.
https://issues.apache.org/jira/browse/TOMEE-756 -
Could I get result in xml from webservice (my client is java application)?
Hi,
I have a client which is a java application to call to my existed webservice and webservice return object result is okie. But I would like to get the result which is wrapped in xml file, not object? Can webservice do that? (If not, I have to wrap the result in xml by hand).
Anyone who know please help me. Very urgent, I have to have answer in 1 day.
Thank in advance.The result when we call to my webservice is an object which contain data, I don't want to get this object, I would like to gain an equivalent xml instead of object ( I don't know if webservice support this).
Yes, the last way is convert result java object to xml. But I think web service should support get xml results because client call to webservice is whatever, right? -
How to send attachments using java application and outlook
Hi ,
I created an application in java which is as
on the Conference Tab i can schedule a conference and with the send command on page it map all the scheduled data to outlook(with all conference details) and using outlook send option the mails are send to appropriate user.
but now i want to modify this application such as when i use the send command from my jsp page it should attach the file that is in .vcs or .ics format for auto updation of user calender.
can any one know how to send attachment using java application .Last time I checked, SMS was a service between carriers and doing SMS yourself was really tricky. Some services existed to let you do it but as I recall they wanted non-trivial money.
However, most phone carriers provide an email-to-SMS bridge of some kind.
So the easiest thing is just to send an email.
That's sending from a non-phone to a phone. There's a J2ME library to send/receive SMS from/to a phone.
However, this is from memory, and a little out of date, so I could be entirely wrong. Hope it helps anyway. -
Error in sending mail Using java application using SMTP.
Hi,
I have created a java application of self user registration which also sends email to the user.
I have also added two JAR files ie mail.jar and activation.jar under the PORTAL_INF/lib.
The code works well in other servers but its showing the error-
java.lang.NoSuchMethodError: com.sun.activation.registries.MailcapFile.getMailcapList(Ljava/lang/String;)Ljava/util/Map;
Thanks & Regards,
Amarys.Hi Amarys,
Please check if you have configure the mail server in SAP protal.
Refer to below documents:
[Send email, using SMTP on remote host|Send email, using SMTP on remote host]
[Mailing throw webdynpro for java|Mailing throw webdynpro for java]
Best Regards
Arun Jaiswal -
I keep receiving this message when trying to use http://www.exodus-chats.org/DolTerias . it uses a java based chat system, and won't allow me to open the application. I've tried checking through my options menus, but I've found no reason as to why this can be blocked. The only thing I've come up with is my plug ins, but it doesn't allow me to change anything to allow the app to be used.
Application Blocked
Details: Java Plug-In 10.51.2.13 using JRE version 1.7.0_51-b13 Java HotSpot(TM) Client VMStarting in Java 7 Update 51, sites that would normally be blocked based on your Java Security settings can be added to an Exceptions list, via the Java Control Panel. See the Java Help page [http://www.java.com/en/download/faq/exception_sitelist.xml How can I configure the Exception Site List?] for details.
Ref: http://kb.mozillazine.org/Java#Java_security_prompts -
Java application to send an SMS via my DKU-5 serial cable.
Hi,
I'm not sure if this is the right forum but....
I'm doing a project for college which involves Learning Content Managemnt System.
I've developed a few features for this including chat, forums, etc.
I want to develop an SMS system to use in conjunction with the chat application
ie. If a user is not online then the chat message will be sent to their mobile in the form of an SMS.
Looking for help in creating a Java application to send an SMS via my DKU-5 serial cable.
Any ideas??
Thanks
Message was edited by:
kiwicashiii u can try.........javax.comm package.
its best for serial communication.
contect [email protected] if required
jigar -
How to make a Java application that will change the client box's IP address
HI how to make a Java application( that application would be run on the client ) that will change the client box's IP address ( IP address of itself )
If you can do that through the command line, then use Runtime.getRuntime().exec(...) to execute your command.
-
Sending SMS Via my java Application
Hi all,
I want to develop a feature to send SMS from my java application by using mobile phone.
I am new to java.
tell me how to connect the mobile phone from my applicatio and how do i send the SMS.
Hoping your help sooner....
Thanks and regards,
Suresh Dhandauthapani.>
Hoping your help sooner....
Sorry I was too late.
Maybe you are looking for
-
Certain purchased songs won't download to ipod??
I've had this problem for quite a while. I plug the ipod in and it never downloads the certain songs. I have tried unchecking them and connecting the ipod then checking them back and connecting it again and it will say that it's copying the songs but
-
[PrintService] Printer found but nothing is printed / Invalid Flavor
Hi, I'm trying to print a plain old UTF-8 String on a printer... Well this appears to me to be something simple, but i can't make it work. The PrintJob is sent to the printer, i'm told that data transfer to the printer is done... But nothing is print
-
I want to know the reason why none of my emails wont send from my mac email addres
-
Ive gotten 3 responses from you guys. But still no help. Can't believe it's taken this long for apple to respond to this issue and I'm very disappointed that all I did was take precaution from left to my account info and my account has been disabled
-
Any one help me how to Solve the complex equation like this.. I was little confused bcoz imaginary part (j) is available..All variables are known except j... Thanks & regards Rigil