Apple Xcode, Java, and Packaging

I have a library of code that I have packaged up and have in a folder "com/foo/..." I have tried dragging the folder into the Xcode source list, and I have also tried importing the directory into Xcode, and when I compile, Xcode keeps saying it cannot find class: com.foo.Whatever; I have even made sure that directory com is in the project folder. I must be missing something. Does anyone know what I am missing?
Thanks,
Daniel

by starting this discution i just whanted to know what peaple whas thingking about this decision
and for the other post i was just saying that apple was no in right to say tha nobody was using java anymore
as proof when you buy a new computer or cellphone(not idevice) java already instaled
and microsoft ave published that they ave developed a jvm compatible but apple dont want to integrat it to idevice
same thimg for flash they cant develop1 becaus apple say no but a lot of user want it
about jailbreaking
have you read what I wrote
i said ''and if java not use anymore why the first apps installed on jailbreaked idevice are java and flash?''
i didn't say i add mi device jailbreaked and i didn't suggests jailbreaking

Similar Messages

  • Appl.  Hierarchy and Package Hierarchy - what is the Best practice ?

    Hi!
    We plan to create a Package Hierarchy in our system, but then come to think of the Application Hierachy is built the way we think of building the Package Hierarchy.  We planned to build a Main package called fex. HR and below a structure package called HR-PA and below that ordinary packages within that area. But should we rather create our own application hierarchy for this?
    Or should we assign the packages to Sap standard application Hierarchy in the HR area ?
    What is the Best practice in this area ? Have any tried to create their own hierarchies ?
    Regards, Tine

    Hi!
    You can create your own Application Hierarchy as well .
    From ABAP Workbench select Overview->Applic. hierarchy->SAP or Customer
    This is what SAP says about this :
    <i>The application component hierarchy is a method of splitting up the SAP System from a logical or <b>business</b> point of view. Packages are a method of modularizing the system from a <b>technical</b> point of view. This technical modularization can, but need not, match the logical division of the system. Assignments should be made however between these two views.</i>
    Regards, Tine

  • Java and Xcode 4

    I'm new to Xcode 4. I have some made some Java projects before for Android in NetBeans. Will it be possible to port over Java code easily to Xcode? Or can I only use Object C to code in Xcode 4?

    Hi coldcrow
    You can code in Java with Xcode, but in a separate forum one of Apple's Java developers said that it is now only meant for small scale Java projects. If you've already got some experience with Netbeans then you might do better to continue with Netbeans and don't worry about Xcode.
    On a personal note, I used to be a keen on using Xcode for Java, but the support for the language declined over time, it never had a Java GUI designer, bits (like the debugger) stopped working properly, and projects that worked one day suddenly became deprecated and then stopped working. In the end, I lost patience with it and moved to Netbeans. I now have a collection of old Xcode Java projects dating back to 2004 that simply won't run any more; as and when I need to use them I now have to transfer them to Netbeans, and I wish I'd never started with Xcode. At least Netbeans is under continuous development and will always support Java.
    If any reading that mini-rant you still want to continue with Xcode for Java then I'll wish you good luck!
    Bob

  • PDF created using Java iText package - Text not editable and not displaying font properties on Acrobat

    Hi,
    I have an issue in editing the text and viewing the font properties of a text region on a PDF created using Java iText package.
    I use Adobe Acrobat 9 Pro Extended and the option Tools -> Advanced Editing -> TouchUp Text Tool.
    The strange behaviour is that, I have 2 PDFs created out of the same base PDF and text added via Java iText package with the same Text, Font and other properties.
    One of the PDF has the text region editable on Acrobat but the other one has the text region which is not editable.
    But both the PDFs are editable via Adobe Illustrator.
    I have attached both the PDFs for your reference
    PDF_Editable.pdf - Editable on Acrobat
    PDF_Not Editable.pdf - Not Editable on Acrobat
    Any help or insight to find out the difference/issue with the PDF which is not editable via Acrobat would be appreciated.
    Thanks in advance.
    Regards,
    Madhusoodhan Henryraman

    You don't have direct control of the leading of a multiline text field. A common approach is to control the background color of the field with JavaScript since the lines are not really needed when the field is used in Reader/Acrobat. They may be useful when using the form by hand. For more information, see the posts by Max in this topic: http://acrobatusers.com/forum/forms-acrobat/how-do-i-use-multi-lined-text-fields-over-prin ted-line-area-existing-form

  • Managing java files and packages

    Hi,
    I am just starting out with java and have reached the stage where I want to store my files in packages and the correct directory structure. I have read through the sun link below and have a question they seam to miss. They say that .java and .class files should be kept in separate places. ie sources and classes directories with the package directory names below. But I have found that unless you have the .class files you are referencing in the same directory as the .java files when you come to compile you will get an error so they have to be stored in the same directory???.. Does this make sence or have I gotten it all wrong.
    Thanks
    Joolz
    http://java.sun.com/docs/books/tutorial/java/interpack/managingfiles.html

    You should put path containing your classes in your classpath. There is a -classpath option in javac.

  • RSPOR_SETUP  = Different ABAP and Java support packages.

    Hi all,
    We have an ECC 6.0 system with abap+java stacks. When we run the RSPOR_SETUP report we get this error:
    Different ABAP and Java support packages. Combination of support packages invalid
    And with some more clicking we find this:
    6. Compare version information of Java support package (com.sap.ip.bi classes) with ABAP support package (SAP BI)
       ABAP Support Package:                  13
       Java Support Package:                   0
    On the Java stack we see (among others) these components:
    sap.com        BI-IBC        7.00 SP12 (1000.7.00.12.0.20070509050058)
    sap.com        BI_MMR        7.00 SP12 (1000.7.00.12.0.20070507084106)
    sap.com        BI_UDI        7.00 SP12 (1000.7.00.12.0.20070507084125)
    sap.com        BI-BASE-S        7.00 SP12 (1000.7.00.12.11.20080324092518)
    sap.com        BI-WDALV        7.00 SP12 (1000.7.00.12.1.20071105133039)
    sap.com        BI-REPPLAN        7.00 SP12 (1000.7.00.12.3.20080104101916)
    So I believe all components are correctly installed.
    What are we doing wrong?

    Hello.
    Please be aware, that report RSPOR_SETUP should NOT be used with a Netweaver 04s system. This report has been replaced by the support desk tool. I request you to run the support desk tool as per note 937697 to check if there are any configuration issues in your system.You can resolve any red traffic lights that might be reported by the tool by following the corresponding actions suggested.
    I hope I can be helpful.
    Thanks,
    Walter Oliveira.

  • Javadoc after Mac OS X 10.6 Java Update 3 and Java Developer Package

    I can't seem to find javadocs, src, nor any real documentation on my Mac after installing Mac OS X 10.6 Java Update 3 and the Java Developer Package. NetBeans used to just find it, and now doing a find as shown below reveals nothing. Does the Developer Package actually include docs anymore? If so, where do I find them?
    find /System/Library/Frameworks/JavaVM.framework/ -name "doc*"
    find /System/Library/Frameworks/JavaVM.framework/ -name "src*"
    find /System/Library/Java/ -name "doc*"
    None of these turn up anything.
    Thanks!

    It took me a while but I solved it like this:
    In NetBeans, open the Java Platform Manager (Tools -> Java Platforms).
    Click the Add Platform... button in the lower left corner.
    Select Java Standard Edition (selected by default).
    In the File field, enter: /Library/Java/JavaVirtualMachines/1.6.0_22-b04-307.jdk/Contents/Home
    Click Next >
    The Platform Sources field should say: /Library/Java/JavaVirtualMachines/1.6.0_22-b04-307.jdk/Contents/Home/src.jar
    If the Platform Javadoc field is empty, browse to or enter: /Library/Java/JavaVirtualMachines/1.6.0_22-b04-307.jdk/Contents/Home/docs.jar
    Click Finish
    Exit NetBeans.
    Open: /Applications/NetBeans/NetBeans 6.8.app/Contents/Resources/NetBeans/etc/netbeans.conf (e.g. in TextEdit)
    Beneath the line that says: #netbeans_jdkhome="/path/to/jdk"
    Enter: netbeansjdkhome="/Library/Java/JavaVirtualMachines/1.6.022-b04-307.jdk/Contents/Home"
    Overriding the default location in the netbeans.conf file may be enough such that you don't need to add the platform in the Netbeans Java Platform Manager.
    Message was edited by: Dadaborg
    Noticed a typo...

  • Tutorials on the Apple Website play in Safari and Chrome, but not always in Firefox. Java and Flash plug ins are up to date.

    I was trying to play the Time Machine video tutorial on the Apple Website (I have an imac 10.6.6) and it won't play in Firefox, but it will in Safari and Chrome. This has happened before but then seemed to fix itself. Other videos (Youtube for eg.) play fine. All plugs (Java and Flash) are up to date. Just wondering why this could happen.

    I have had this problem for a few days, no sound in Firefox, but IE and WMP (offline) have sound, this is a Firefox ONLY problem, so the volumes are all set correctly and the drivers and needed files are there, I've tried every fix that people have suggested on Google like checking the flash player settings, creating the "missing.reg" registry file and importing it, etc...
    nothing works, I may just have to switch to Safari or Chrome, I watch a lot of video online (Youtube, ESPN3, NFL.com, etc.) so this is a huge problem...

  • Cannot open Citrix and my apple approved Mircosoft Office package anymore.

    After the installation I cannot open Citrix and my apple approved Mircosoft Office package anymore.What happend? I need these programms to work in my homeoffice? Do I need to buy an ordinary computer with Microsoft?
    Who can help me?

    1. Restore you Mac to Snow Leopard from your Snow Leopard backup.
    2.  Partition your hard drive or add an external hard drive and install Lion there.
    3.  Dual-boot (System Preferences:Startup Disk) to get into Snow Leopard when you need access to Word and/or Citrix; or to Lion when you need access to iCloud or apps that require Lion.
    Consider upgrading to Office 2008 or 2011, both of which will work in Lion.  I have no experience with Citrix to advise of a possible update for Lion.

  • APPLE JAVA and Project Engine

    Starting Project Engine with a Mac.
    This excellent free program does not seem to start in my Mac. Can some OS wiz-kid / JAVA specialist help me solve the problem please. As I have Apple Java, I don't think I should need a "JAVA RUNTIME" program, do I ?
    My question with more details and the reply from their support is below (there answer was NOT useful!).
    Hi Kevin,
    I would guess that you do not have Java installed since you get a 'command not found' error. I would suggest to go to www.java.com and install the latest runtime.
    Please let us know if that does not help.
    Regards,
    Project Engine Support and Administration
    [email protected]
    http://www.projectengine.se
    * MY QUESTION **
    Good day,
    I have a MacPro OSX10.5.8 on a Mac Book Pro (2.6GHz Intel 2 Core ; Memory = 4 Go DR2 SDRAM)
    The Apple Java version installed is : Java Web Start :
    Version : 12.5.0
    Dernière modification : 06/12/09 20:54
    Type : Universel
    Emplacement : /System/Library/CoreServices/Java Web Start.app
    On the JAVA website they say to use the Apple' preinstalled JAVA.
    The directory of Project Engine is in the Applications Directory.
    When I cllick on : "startServerLinux" to start the programme the terminal opens with this message :
    "Last login: Mon Nov 16 09:05:41 on console
    /Applications/ProjectEngine/startServerLinux ; exit;
    MacBook-Pro-Kevin-GARDINER-2:~ GARDINERFAMILY$ /Applications/ProjectEngine/startServerLinux ; exit;
    : command not foundctEngine/startServerLinux: line 2:
    logout
    Could you give me some advice please how to get it to run.
    Previously I have used an earlier version under Windows.
    I am a novice in unix...
    Thanks.
    Kevin GARDINER (in France)

    Post to the developer forums under OS X Technologies. See http://docs.info.apple.com/article.html?artnum=22133 and http://docs.info.apple.com/article.html?path=Mac/10.6/en/8602.html especially the link to http://developer.apple.com/mac/library/navigation/index.html?filter=java

  • HT5559 I've followed the instructions to re-enable apple supplied Java SE 6 but this does not work. Java is still disabled and I'm having problems with dependant applications.

    I've followed the instructions to re-enable apple supplied Java SE 6 following upgrade to version 7 which caused a number of applications to stop working.
    I wondered if anyone has had any joy re-enabling JAVA SE 6. I've tried contacting Apple but cannot get any response. They've sent me back default messages claiming that they have tried to contact me - they haven't!  I'd be grateful for some help with this. Thanks

    This is the latest news about Java.
    http://www.macobserver.com/tmo/article/java-7-update-13-addresses-security-vulne rability-os-x-block
    I do not use Java. So I cannot verify that this is the solution or not..
    Best.

  • XCode Java project: can't add files

    Greetings all,
    I have a Java codebase which I developed in JBuilder. I now want to produce the final product, a Mac app. To do this I fired up my XCode 2.5. I went File->New Project and chose Java Application under the Java template group.
    Since I don't want the three .java files that the template helpfully puts into the project, I removed them. (The only way to do this seems to be to close the project, go to the Finder, and delete them there, then re-open the project...whatever...) My next task was obviously to add my java files and the three .jar files that they depend on.
    Which is where I ran into problems. It doesn't seem to matter what I do, I cannot get my files properly added to the project.
    I have tried dragging the files from the Finder into the XCode project window and dropping them on the src group icon; despite the fact that the disclosure triangle to the left of the group flashes a lovely shade of pink and then self-opens, when I drop the files there, they do NOT get put into the group; they become siblings of the group instead.
    I have tried right-clicking on the group and choosing Add->Existing Files; same result as above.
    I have tried single-clicking on the group and choosing Project->Add to Project from the menu bar; same result as above.
    I should mention that in all of these three, I do get asked whether I want to copy the file or just have a reference created to it; I always choose not to copy the file (since I want my files to live elsewhere). However, just to experiment, I have just tried Project->Add to Project and asked for the chosen file to be copied...same result as above. The file ends up a sibling of the src group.
    I have also tried removing the src group from the project window and then dragging in from the Finder the entire src folder which holds my Java codebase. It successfully arrives in the project window, but its colour is yellow (whereas the original one's colour was blue) and it never gets compiled. I can't seem to convince XCode that these files are source and should be compiled...despite the fact that if I get out the Info window on any of them, the FileType popup menu states that they are "sourcecode.java".
    I have even tried making an alias to the src folder which holds the codebase, and moving this alias into the XCode project directory in the Finder. This fails to build since XCode tells me that it can't create the directory "src" since one already exists with that name!
    The only way I have found which has any success at all is to actually copy the files and folders into the src and lib folders of the XCode project directory, in the Finder. However, this is not acceptable for either the java or the .jar files. The java files need to be in a certain location for JBuilder, and the .jar files are common files and I am not at all interested in having multiple copies of them floating around on my disk! Furthermore this sort of behaviour should not be necessary with a modern compilation system, especially not one created by Apple.
    Please, can some kind soul tell me, how on earth am I supposed to add existing files to an XCode Java application project, without putting them into the project directory on the disk?
    Thanks gratefully in advance!

    Hi SkiAddict1
    I can't speak for Xcode 2.5, only 3.1...
    The way to add new Java source files is to highlight one of the existing source files (in the src group) and then use File > New File...
    If you want to create a package hierarchy, then you need to use Finder to create the corresponding folders inside src. Once you've done this, then you can create a source file inside a package by highlighting any Java source file, then selecting File > New File... then using the Choose option to specify the correct location. At this point, the main project window doesn't show the newly created file in the folder hierarchy, however next time you restart Xcode it will appear in the right place.
    I think the issue is that the designers of Xcode didn't adequately cater for the Ant tool's use of a src folder and the requirement for nested folders to represent a package hierarchy. However, it's still possible to make do provided you create the folders yourself and always remember to highlight an existing source file before creating a new file.
    Bob
    PS: A neat trick which I find quite handy when porting an existing Java program is to use the boilerplate main class which Xcode creates and use it to call the main () method of the imported project. Eg:
    public class ProjectName {
    public static void main (String [] args) {
    // Call the main method of the imported project
    com.company.project.ProjectClass.main (args);
    }

  • Hey. I have recently made an update on my daughters iMac, particularly update OS X 10.9.4, when finished, its still asking for update and the same update stills remarked in the apple update menu and at the App store app. Why doesn't stop asking f.ud?

    Hey. I have recently made an update on my daughters iMac, particularly the update OS X 10.9.4, when finished, its still asking for update and the same update stills remarked as ready in the apple update menu and remarked as 1 to go at the App store app. Why doesn't stop asking for update when its done like 5 times or more? Thanks for taking your time!

    If you don't already have a current backup, back up all data, then reinstall the OS.* You don't need to erase the startup volume, and you won't need the backup unless something goes wrong. If the system was upgraded from an older version of OS X, you may need the Apple ID and password you used.
    If you use FileVault 2, then before running the Installer you must launch Disk Utility and select the icon of the FileVault startup volume ("Macintosh HD," unless you gave it a different name.) It will be nested below another icon with the same name. Click the Unlock button in the toolbar and enter your login password when prompted. Then quit Disk Utility to be returned to the main Recovery screen.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    If you installed the Java runtime distributed by Apple and still need it, you'll have to reinstall it. The same goes for Xcode. All other data will be preserved.
    *The linked support article refers to OS X 10.9 ("Mavericks"), but the procedure is the same for OS X 10.7 ("Lion") and later.

  • Compability problem with Java and Python  RSA algorithm implementation

    I have client server application. Server is writtein in python, client in java. Client receives messages from server encrypted with RSA (http://stuvel.eu/rsa), and I'm unable to decrypt it. It seems that this is RSA algorithm compatibility problem. I'm using algorithm from java.security package, instatinating Cipher object like this: c = Cipher.getInstance("RSA"); . I noticed that this algorithm produces for input blocks of lengtrh <=117 ouput block of length 128. Server I guess uses the most triviall impelentation of RSA ( (1 byte is encrypted to 1 byte) So i want to make my java algorithm compatibile with this one which server uses. How to do that ? Do i have to instatinate Cipher object in different way ? Or use another library ?

    azedor wrote:
    First you said it was no good because it could only handle <= 117 byte inputs, now you say it is no good because it produces a 128-byte output. You're not making sense.First i said that this two RSA implementations are not compatibile, and first reason i noticed firstly is that Python imlementation for input of length N produces cryptogram of the same length. Not true. In general, the RSA encryption of any number of bytes less than the length of the modulus will produce a result of length near that of the modulus. When N is less than the length of the modulus, it is rare that N bytes of cleartext produces N bytes of ciphertext.
    Java implementation for data block of length <=117 produces alwasy 128 bytes of output.Pretty much correct and very much desirable. This is primarily a function of the PKCS1 padding which is used to solve two basic problems. First, as I alluded to in my first response, it is the nature of the algorithm that leading zeros are not preserved and second when the cleartext is very small (a few bytes) the exponentiation does not roll over and it is easy to decrypt the result. Both these problems are addressed by PKCS1 padding.
    >
    >
    After what sabre150 said i think of giving up idea of translating Python code to Java and considering to use another assymetric cryptography algorithms on both sides. Can you recommend me sth what should be compatibile with Python ?This seems to be at odds with your statement in reply #3 "Also have acces only to client code so i have to change sth in java." ! This statement is why I said "I suspect ... you have dug a deep hole".
    In your position I would use the Python bindings for openssl. Once more, Google is your friend.

  • I just ran a software update for Java and MacBook Pro SMC, now my Mini Display Port to HDMI TV is not working. The TV is flickering. The Mac Display is fine.

    I was just watching / streaming TV off Safari on my actual TV.
    I'm using a Mini-Display Port to HDMI cable for the connection to the external display.
    Software update popped-up and said there was an update for Java and for SMC.
    I ran the update and upon the computer restarting, my external display (my TV) is no longer working. It is now flickering.
    It won't work in Mirroring or set up as an extended display.
    I've reset SMC / PRAM / Safe Mode / Even restored from a Time Machine backup (From before the updates were done).
    What could it be?!

    I keep saying this over and over, in the hope that people who do a search will find it.  Apple cannot possibly test for or be reponsible for the bazillion combinations of adapter, cables, and TV's out there.  The only monitors that are 100% guaranteed to work with the MacBook Pro are the Cinema Displays and Thunderbolt Displays, because, they're made by Apple.  They're expensive, but they work perfectly.
    My guess is that you bought a cheap MDP to HDMI cable, or have a defective one.  From my reading of these boards over the past few months, cheap cables have a high failure rate.  And the regular priced ones have only a slightly less of one.  Try a new one.  Make sure you do not damage the Thunderbolt port.

Maybe you are looking for

  • PO for transport and connection with price of the materials

    Hi all, I have a little problem here and I would appreciate any kind of help and advice! If I make one PO for goods to one vendor, and differend PO for transport of goods to differend vendor how can I link this second PO with the first in order to in

  • Tritton AX360 Headphones

    I've got these headphones from Tritton that I cannot figure out how to get the microphone to work on. I've got them connected to my mac pro via the optical port but the mac doesn't seem to realize that the mic is there. Anyone have any ideas how to g

  • 'End Action' not working in Hardware player when chapter skipping. Suggestions?

    Hey all. I am building a 2 disc BD set of my old band and have everything built using Encore CS5. The majority of functionality is working correctly however, I have a couple nagging issues that I can't seem to figure out. I am getting different resul

  • Cannot embed google calendar in muse cc 2014.3

    I just want to embed a google calendar. I get an error that says cannot open in frame. ?? Idk what to do

  • Themes Display Issue

    Hi All, We have our customer specific theme design implemented in portal. We need this theme to be applied for all Standard and Custome WD ABAP applications. I downloaded the theme from portal and uploaded it to the ECC MIME Repository by executing t