(HELP) Is it possible to launch a seperate java app from W/I a java class?
I have been struggling with this for two weeks now and I still can't get a seperate java application to launch from from w/i my java application. I've gotten my code to compile, and I have saved the output of the command (java ....) to an OutputStream. I tried an alternative to display output to the command prompt, but this will not work if I want to display a gui. If anyone knows how to do this please explain or direct me to some info. Until then the search continues.
Hey Doc,
I tried that, it executes the command, but does not launch the application. I've looked at previous posts, but it seems that no one has the answer. Well such is life, LOL.
Similar Messages
-
Why do I get the 'PowerPC code' error when trying to launch an Intel-based app from a CD?
When trying to launch a Flash-based app from a CD on my Mac Book Pro, I get the "PowerPC apps are no longer supported" error. Yet the app is not built with PowerPC code.
This also happened with Microsoft Office programs soon after I upgraded to OSX Lion, but someone was able to solve that for me.It's just a free disc from a photo magazine, but the app runs fine on a Mac Pro running 10.7.3. Could it be hardware related?
I have actually asked this on behalf of a reader (I work for the company that makes the magazine) who is experiencing this problem, I just can't find any reason why the error would display in these circumstances. I apologise if this is against the community's usual practise - I just want to sort this guy out!
The app on the disc is compiled using MDM Zinc, but like I said it runs a-OK on Lion everywhere else.
Any help would be gratefully received and appreciated! -
How to launch an Air desktop app from a second Air desktop app?
Hi,
Is there a way to launch an Air desktop app from a second Air desktop app?
I'm using Air 4 with Flash CS 6 on Windows.
ThanksAccording to Adobe documentation, AIR doesn't allow you to launch one application using another on desktop. The best bet that I could find at the moment would be to use the File.openWithDefaultAppilcation() function and open a file(like a .doc or .txt file) that has an AIR app set as the default application to use for X filetype. Unfortunately, launching app(.exe, .app, etc) files directly is not allowed. Probably for safety/security reasons. You might be able to get around that with a Native Extension though. Below is a link to the File.openWithDefaultApplication() method which includes a table of all the filetypes not allowed. Tried messing around with some ways around it, but the best I could do was open a new Finder window(testing on a Mac) and highlight the file. The code below assumes that both AIR apps are installed in the same app directory. Not sure how it would work on Windows but the result might be the same. For Mac, no special characters or anything was needed even though the app I was trying to open had spaces in the filename.
var filePath:String = "file://" + File.applicationDirectory.nativePath + "/App to highlight.app";
navigateToURL(new URLRequest(filePath));
File - Adobe ActionScript® 3 (AS3 ) API Reference -
Is it possible to launch a Screen Personas screen from an ABAP WebDynpro application?
I am running SAP EHSM Incident Management within SAP Portal. EHSM has an ABAP WebDynpro frontend based on BOPF/FPM
In the same portal session for a single user, we want to be able be in an
active record in EHSM and then launch a screen personas screen based on a
SAPGUI transaction from either a button click or portal tab click. As part of
the launch, we want to pass an HR PERNR ID to the Screen Personas/SAPGUI
transaction from the active record in EHSM and run a search. Is it possible to
do this? Project team is saying this is a technical limitation.
I know that Screen Personas cannot be used for a WebDynpro screen, but we just want to launch a screen and pass a parameter. We assumed during blueprint this would be possible.
ThanksThis is definitely possible.
Here is a link containing an example of building the URL to start a transaction via Personas and pass a variable plus a command in the URL. This could be enhanced with specifying the flavor as well. -
Launching another iOS AIR app from iOS AIR App
Hi
Ideally we would like to be able to launch another AIR iOS from our AIR iOS. Is it possible to do this with AIR? I understand you can do it natively. We would also need to pass a few parameters: such as authentication ID and a URL.
Potentially we need to be able to do this in Android too.
Thanks
BenYes. you can have following chunk in your infoAdditions
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>appA</string>
</array>
</dict>
</array>
then from another AIR iOS application you can call navigateToURL("appA://thisDataWillBeReceivedByAppA")
I have written an Article which lets AIR iOS applications implement Facebook Single Sign-On It uses the same techniques. You can follow http://www.saumitrabhave.com/2011/10/facebook-single-sign-on-for-air-ios.html for more details.
Thanks,
Saumitra -
Help needed to define a xsd for a java class that has initialization block
public class Employee{
public final static Boss boss1 = new Boss("George","Male");
public final static Boss boss2 = new Boss("Barbara",'Female");
public class Boss{
private String name ;
private String sex;
Boss(String name,String sex){
this.name = name;
this.sex = sex;
I am working on a wsdl first webservices.
Can someone come with an xsd for this two class.I am struggling to come with an xsd becuase of the initialization of boss1 and boss2
Please help.
thx
mshet wrote:
I am struggling to come with an xsd becuase of the initialization of boss1 and boss2Why do you think that there is a dependecy of initialization to XSD development? Normally, you should only be creating the XSD to represent the class structure, not the runtime final value of instance member.
You will have to write the initilization logic in helper or utility classes.
Edited by: Adhir_Mehta on May 17, 2010 8:16 AM -
Launch Copy Package for OWNERSHIP app from within the FINANCE app
Is it possible to launch the standard COPY package from within another application?
My case is:
I have an OWNERSHIP application with the standard dimensions ENTITY,TIME,CATEGORY,OWNACCOUNT,INTCO. I would like to copy my ownership data from one period to another as it is faster than doing data input for all my entities
Now the challenge:
I would like to launch this standard COPY package that copies OWNERSHIP data from within the FINANCE application. Otherwise the user always needs to switch from applications.
I know it was possible in v4, but I seem to forget something when trying it v7.0 SP7.
Any help is much appreciatedDear Shoba,
I tried the following macro
Sub copytest()
Application.Run ("MNU_eData_SelectPackage(""Copy"",""system files/Copy.dtsx"",""Company"",""Ownership"")")
End Sub
When I was in the legalapp, copy package was opened but with the dimensions of the legalapp
When I changed of to the ownership and tried the macro again, it gave me the good dimensions, but that was not the purpose
When I copied the package and changed the %APP%ù it didnt work either
I even changed %dim% to ownaccount,time,category,legalentity,intco and then the good dimensions appeared when launching the package but he gave an error when selection ownaccount, as it is not a dimension of the legalapp.
Do you see other possibilities?
br,
Benjamin -
Is it possible to call methods of JAVA objects from ABAP?
Hi all,
Does anyone know if it is possible to call methods of java classes from ABAP?
Regards,
SukruHi,
Yes we can access the classes of JAVA in ABP.
This is posible from version ECC 6 onward with NETWEAVER atrhcitecuture.
Pls go through this link-
http://help.sap.com/saphelp_nw04s/helpdata/en/84/54953fc405330ee10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/e1/b5443e02a9ab4186a6e1240a9a2455/frameset.htm
Here also we use the JCO connector objects
These clearly show the methods to use JAVA.
<removed_by_moderator_together_with_points>
Regards
Chandralekha
Edited by: Julius Bussche on Jul 8, 2008 5:58 PM -
Is it possible to call a windows batch file from PL/SQL
Hi gurus,
Would require your help.Is it possible to call a windows batch file from PL/SQL??If yes can you give an example for the same or any workaround for the same.
Regards
VijayHi!
Youn need some extproc related entries in you listener.ora and tnsnames.ora file.
*1. In the listener.ora:*
Defining the listener process is done in two parts.
The information contained in each listener differs!!!
The first part is as follows:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = extproc)) <--- *ADD THIS LINE
(ADDRESS = (PROTOCOL = TCP)(HOST = yourhostname)(PORT = 1521))
)The seoncd part is as follows:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = YOUR_GLOBAL_DBNAME)
(ORACLE_HOME = c:\oracle\product\10.2.0) <-- THIS IS YOUR ORACLE_HOME
(SID_NAME = YOUR_SID) <-- SID
(SID_DESC = <--- ADD THIS LINE
(SID_NAME = PLSExtProc) <--- ADD THIS LINE
(ORACLE_HOME = c:\oracle\product\10.2.0) <--- ADD THIS LINE AND EDIT TO YOUR ORACLE_HOME
(PROGRAM = extproc) <--- ADD THIS LINE
(ENV = "EXTPROC_DLLS=ANY") <--- ADD THIS LINE
) <--- ADD THIS LINE
)*2. In the tnsnames.ora you need to add the following entry:*
*(The KEY value entered must be match to the KEY value entered int the listener.ora file!)*
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = extproc))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)Finally you need to restart your listiner. After restarting there will be a service called "PLSExtProc" in your listener.
This are only examples for extproc configuration, your tnsnames.ora and listener.ora can be differs.
FIRST MAKE MAKE A BACKUP OF YOUR ORIGINAL tnsnames.ora AND listener.ora FILES
For more information please check metalink note 68061.1 "EXTPROC: Creating External Procedures on Windows NT"
Bestr Regards
Norbert -
Is it possible to call a windows batch file from PL/SQL block ??
Hi gurus,
Would require your help.Is it possible to call a windows batch file from PL/SQL block ??If yes can you give an example for the same or any workaround for the same.
Regards
VijayYou didn't specify a database version, but if you are 10g or higher, it's quite straightforward using an external job type in DBMS_SCHEDULER. Funnily enough i'm looking at something similar myself at the moment.
Useful guide to some of the issues here Guide to External Jobs on 10g with dbms_scheduler e.g. scripts,batch files -
hope yu can help!! when i try to download an app from the store, on my iphone 4s..the app goes to waiting, or paused(if i tap on it)
and i get a message that says one of two things; cannot download app at the time, or could not download (ex.) Facebook.app at this time.
any answers??. i really am used to having apps!!
extra info; yes my phone is uptodate with its software- im connected to wifi- and my mac somehow crashed or id just be plugging it into itunes:[Change your country on iPhone, iPad, or iPod touch
Tap iTunes Store, App Store, or iBooks Store.
At the bottom of the Featured page, tap Sign In.
If you're already signed in, skip to step 5.
Tap Use Existing Apple ID.
Enter your Apple ID and password and tap OK.
Tap your Apple ID.
Tap View Apple ID or View Account.
Tap Country/Region.
Tap Change Country or Region.
Tap the Store menu and tap your country.
Tap Next.
Review the Terms and Conditions and Apple Privacy Policy.
Tap Agree if you agree to the terms and conditions.
In the prompt that appears, tap Agree.
Select a payment method and enter your payment information.
Enter your billing address and tap Next. -
Is it possible to launch the SequenceAnalyzer from a C# code module in a Custom TestStand Editor
The Sequence Analyzer is not available in the Custom TestStand Editor Mode GUI.
Is it possible to add the Sequence Analyzer to a menu in the custom TestStand Editor?
Is it possible to launch the sequence analyzer from a C# code module, this method is then called from a sequence call back.
Best regards
PatrickFrom the TS Help:
TestStand Sequence Analyzer Application
Select Start»All Programs»National Instruments»TestStand»Tools»TestStand Analyzer or run <TestStand>\Bin\AnalyzerApp.exe to launch the stand-alone TestStand Sequence Analyzer application. Use this application to analyze projects outside of the TestStand Sequence Editor.
The sequence analyzer application window contains the following tabs:
Files—The files and directories to analyze.
Rules—The rules to use for analysis. Use this tab to enable, disable, and configure rules for analysis in the current project.
Options—Contains the project options that control the analysis and determine whether the sequence editor automatically saves the current analyzer project.
Messages—Contains the list of messages for the most recent analysis of the current project, sequence file, or workspace file. The sequence analyzer overwrites the content of the Messages tab each time you start an analysis session.
Analysis Summary—Contains a summary of the most recent analysis of the project.
Command-Line Usage
You can use the following command-line syntax to open an analyzer project:
AnalyzerApp.exe "C:\My Documents\MyProject.tsaproj"
CTA, CLA, MTFBWY -
Is it possible to launch SAP GUI (not webGui for windows) from UWL
Hi Experts,
Is it possible to launch a transaction or document in SAP GUI (not WebGUI for windows) from UWL? If yes - how do I achieve that?
Appreciate your help.
Giri.Hi,
Yes, you can create an SAP transaction iview and open that iview. Refer following link for task launch :
http://help.sap.com/saphelp_nw70/helpdata/EN/59/d516690e854c7090ae15bf492a869f/frameset.htm
regards,
Jigar Oza -
Is it possible to launch Transaction Launcher in E-Commerce
Hi All,
Is it possible to launch transaction launcher in E-Commerce application like the way we have it in CRM Web ui( placing the logical link on navigation bar).Any pointers on this would be of great help.
Thanks,
UdayaThanks Peter for your response.
We are doing CRM IC Web client implementation where in we are bringing ECC VA01,VA02 Transactions on to web ui and providing this to agents.
In the same context, the client has requested for similar kind of links on E-Commerce application to look for ECC Sales order and other ECC Transactions.
Here the catch is we are not replicating the Transactional data in to CRM. Here we are having single crm instance connected to multiple back end(ECC) Systems.
Can you give us any SAP Reference link that tells us it is not possible to provide TL in E-Commerce application.
Thank you.
Thanks,
Udaya -
Please help -- Address Book Crashing on Launch, causing problems with Mail
Problem:
Address Book crashes on launch. Mail crashes on launch as soon as it tries to access address book. Can't use either program.
History:
First noticed problem after an out-of-hard-disk space problem. Had about 2 GB left on the 80 GB hard drive in my 1 GHz iMac G4. Was comparing two very large TIFF files in Photoshop when it crashed because it had used up all the available scratch disk space. Mail and Address Book were also open at the time, along with a number of other apps.
After re-starting, Mail began crashing on launch. There had been a message open at the time of the first crash, and it appeared that the crash was happening as soon as Mail went to Address Book to find the sender's image for that message. The crash report showed that Address Book was the thread that failed.
Tried to launch Address Book; crashes on launch.
Both applications refuse to launch.
(Have also noticed that Safari crashes when entering text in a field -- good thing I have an iBook to use to post this plea for help!)
Attempted Solutions:
Scoured these discussions for suggestions.
Trashed preferences, re-started & re-launched; no luck.
Repaired permissions and disk repeatedly until squeaky clean
Used Pacifist to re-install sync services, address book, mail; no luck
Re-run Combo Update PPC 10.4.6; no luck
Have now done a full Archive and Install, re-installed the 10.4.6 combo update and the most recent security update, and verified permissions and disk.
Problem still persists -- which suggests it's something in my User library, I presume, but I'm out of ideas. Very tired and frustrated -- please help!
I've copied the most recent pertinent information from Address Book's Crash Log and posted below. Let me know if I need to post anything else, or logs from other apps. Thanks for taking the time to look into my problem, everyone!
Crash Report:
Date/Time: 2006-06-17 09:21:16.256 -0400
OS Version: 10.4.6 (Build 8I127)
Report Version: 4
Command: Address Book
Path: /Applications/Address Book.app/Contents/MacOS/Address Book
Parent: WindowServer [71]
Version: 4.0.3 (483)
Build Version: 115
Project Name: AddressBook
Source Version: 4830000
PID: 285
Thread: 0
Exception: EXCBADACCESS (0x0001)
Codes: KERNINVALIDADDRESS (0x0001) at 0xe183c1fc
Thread 0 Crashed:
0 ...apple.AddressBook.framework 0x94c85708 c4_FormatB::Define(int, unsigned char const**) + 212
1 ...apple.AddressBook.framework 0x94c82db4 c4_HandlerSeq::Prepare(unsigned char const**, bool) + 372
2 ...apple.AddressBook.framework 0x94c83ae8 c4_FormatV::SetupAllSubviews() + 160
3 ...apple.AddressBook.framework 0x94c851e0 c4_FormatV::Get(int, int&) + 44
4 ...apple.AddressBook.framework 0x94c85150 c4_Handler::GetBytes(int, c4_Bytes&, bool) + 44
5 ...apple.AddressBook.framework 0x94c85108 c4_Sequence::Get(int, int, c4_Bytes&) + 88
6 ...apple.AddressBook.framework 0x94c85058 c4_ViewRef::operator c4_View() const + 76
7 ...apple.AddressBook.framework 0x94c844a4 c4_Storage::Description(char const*) + 96
8 ...apple.AddressBook.framework 0x94c85c04 c4_Storage::GetAs(char const*) + 100
9 ...apple.AddressBook.framework 0x94c86e6c cacheViews + 240
10 ...apple.AddressBook.framework 0x94c811f4 -[ABAddressBook nts_OpenContactManagerWithMode:cacheSchema:] + 452
11 ...apple.AddressBook.framework 0x94c7fd50 -[ABAddressBook nts_InitDefaultContactManager] + 1052
12 ...apple.AddressBook.framework 0x94c7f88c +[ABAddressBook nts_SharedAddressBook] + 76
13 ...apple.AddressBook.framework 0x94c7f7c0 +[ABAddressBook nts_CreateSharedAddressBook] + 76
14 ...apple.AddressBook.framework 0x94c7f6e4 +[ABAddressBook sharedAddressBook] + 80
15 ...apple.AddressBook.framework 0x94c9d990 -[ABUIController setupAsPeoplePicker:] + 300
16 com.apple.AddressBook 0x00008e68 0x1000 + 32360
17 com.apple.AppKit 0x936d3e50 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 928
18 com.apple.AppKit 0x936c003c loadNib + 240
19 com.apple.AppKit 0x936bfa94 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 716
20 com.apple.AppKit 0x93716f64 +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 156
21 com.apple.AppKit 0x937aa930 -[NSWindowController loadWindow] + 204
22 com.apple.AppKit 0x937aa654 -[NSWindowController window] + 92
23 com.apple.AddressBook 0x00009224 0x1000 + 33316
24 com.apple.AddressBook 0x00008f68 0x1000 + 32616
25 com.apple.Foundation 0x92931ad8 nsnotecallback + 180
26 com.apple.CoreFoundation 0x90803010 __CFXNotificationPost + 368
27 com.apple.CoreFoundation 0x907fb0ec _CFXNotificationPostNotification + 684
28 com.apple.Foundation 0x9291bee0 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
29 com.apple.AppKit 0x936bc338 -[NSApplication _postDidFinishNotification] + 112
30 com.apple.AppKit 0x936bc224 -[NSApplication _sendFinishLaunchingNotification] + 92
31 com.apple.AppKit 0x936bbd6c -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 264
32 com.apple.AppKit 0x936bb914 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 92
33 com.apple.Foundation 0x92932ae4 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 380
34 com.apple.Foundation 0x92932944 _NSAppleEventManagerGenericHandler + 92
35 com.apple.AE 0x914f2960 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 208
36 com.apple.AE 0x914f27fc dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 44
37 com.apple.AE 0x914f2654 aeProcessAppleEvent + 284
38 com.apple.HIToolbox 0x931db0e0 AEProcessAppleEvent + 60
39 com.apple.AppKit 0x936ba05c _DPSNextEvent + 856
40 com.apple.AppKit 0x936b9b48 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
41 com.apple.AppKit 0x936b608c -[NSApplication run] + 472
42 com.apple.AppKit 0x937a6bfc NSApplicationMain + 452
43 com.apple.AddressBook 0x00008a98 0x1000 + 31384
44 com.apple.AddressBook 0x00008588 0x1000 + 30088
45 com.apple.AddressBook 0x00009f68 0x1000 + 36712I'm no expert on Address Book, but I can tell you that the files involved in the crash could be HOME/Library/Preferences/com.apple.AddressBook.plist and anything in HOME/Library/Application Support/AddresBook/. It looks like you have ignored this latest folder so far. I would try moving both items to the Desktop, restart, and see whether that stops the crashes.
Maybe you are looking for
-
Command in ABAP Editor to improve the source code
Which command in ABAP Editor to be used to improve the readability of the program code ?plzz tell Edited by: Alvaro Tejada Galindo on Feb 13, 2008 3:48 PM
-
Bdc recording with fk01 .. gives .. error
hi experts i m now to .. abap .. i have done .. recordin on BDC fk01.. but .. it is not uploadin .. the the data from excel sheet .. kindly help me out in this ... here is the source code of it ..... report ZBDC no standard page heading line-size 255
-
I have a webroot/WEB-INF/jsp directory with my jsps. When I compile I get the following warning for all my jsps: Warning: package name web2d_inf._jsps does not match source file name C:\CVSHome\Orion\jdev\registration\regView\classes\.jsps\_WEB_2d_IN
-
I purchased one season of a tv series. I received confirmation of purchase but when I check in downloads the message u get is "waiting". What is the problem and how do I fix it? Thanks.
-
Anyone else having trouble with Itunes store? My account says I have entered the wrong security code for my credit card