Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: how to upload netbeans's code in cpanel

  1. #1
    Junior Member
    Join Date
    Feb 2011
    Posts
    2
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default how to upload netbeans's code in cpanel

    hi all,
    i'm new java...

    i have a client ,server application.
    in my server will be to tie everything together(client and server) and provide a GUI so I can see what's happening.so i use GUI JFrame ,... and create all class of java application with netbeans.

    now , i don't know how to upload my project in cpanel(wich file and folderes of netbeans to wich folder of cpanel linux),and how to test it.

    tnx


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: how to upload netbeans's code in cpanel

    I don't think this is a Java question. You'll probably have more luck asking at a cpanel forum.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. The Following User Says Thank You to KevinWorkman For This Useful Post:

    sabina (February 3rd, 2011)

  4. #3
    Junior Member
    Join Date
    Feb 2011
    Posts
    2
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: how to upload netbeans's code in cpanel

    hello KevinWorkman,
    i ask other question.
    i make this project with netbeans IDE 6.5. and i have folders (build,dist,nbproject,src,test) and files (build.xml,mainfest.mf) .
    in build folder, exist Main.class and other classes.
    in dist folder ,exist a Jar file.
    in nbproject folder ,exist build-impl,build.xml,project.properties,project.xml,genf iles.properties.
    in src , exist MAin.java, other java files.

    in netbeans , I did right-click on name project and ,select Properties ,and select PAckaging Node .then active check "compress jar file". so build project and then run it. and finally i upload jar file only. but it's not work.

    is it wrong? is jar file an executable with out src folder?
    tnx

  5. #4
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: how to upload netbeans's code in cpanel

    What you have told us isn't really enough information. Saying "it's not work" is as useful a question as us saying "then make it work" is a useful answer.

    I suggest you ditch netbeans completely. I don't know very much about how it arranges those files, and I suspect neither do you. Until you're more comfortable with packaging, classpath issues, and jar files, I suggest you work from a more basic editor and use the command line for compiling, running, and jarring.

    Recommended reading: Lesson: Packaging Programs in JAR Files (The Java™ Tutorials > Deployment)
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  6. The Following User Says Thank You to KevinWorkman For This Useful Post:

    sabina (February 9th, 2011)

Similar Threads

  1. Upload Image / Document
    By systech44 in forum Java Servlet
    Replies: 1
    Last Post: August 11th, 2010, 09:42 AM
  2. java.net.HttpURLConnection:large file to upload
    By tommy_725 in forum Java Networking
    Replies: 1
    Last Post: October 28th, 2009, 11:53 AM
  3. How to upload a file by clicking a link instead of button?
    By raghuprasad in forum Java Theory & Questions
    Replies: 2
    Last Post: May 3rd, 2009, 05:21 AM

Tags for this Thread