Search:

Type: Posts; User: stdunbar

Page 1 of 4 1 2 3 4

Search: Search took 1.17 seconds.

  1. Replies
    1
    Views
    552

    Re: finding "jar file name" by package name

    I've had this tool for some time. See if it works for you.
  2. Re: Exception in thread "main" java.lang.IllegalArgumentException: PWC6309: Illegal c

    You're using "ant" and it is asking to compile under Java 7 (1.7) and you don't have a 1.7 compiler on your machine.
  3. Thread: Java Version

    by stdunbar
    Replies
    1
    Views
    649

    Re: Java Version

    In this example there is no update version. This is the very first release of 1.5.0 - a version long since deprecated and unsupported.

    I downloaded a newer version of the 1.5 JDK and got:

    >...
  4. Re: ClientAbortException - when do multiple request at same time....

    Not without more information. At a total guess, there is a redirect or some JavaScript that is telling the browser to go somewhere else before your JSP is done. If it is when there are simultaneous...
  5. Re: Problems with running and compiling application

    Yes, you'll need that. There are examples out there that should be very simple to modify. To get you started:


    <?xml version="1.0" encoding="UTF-8"?>

    <project name="project_name"...
  6. [SOLVED] Re: how could I throw an exception in this case

    How about that?
  7. Re: number turning negative during calculation why???

    Well, you've missed the absolute most important part - how is total defined? You didn't take the time to give us a SSCCE but I will:


    public class DayThing {
    public static void main( String...
  8. Thread: Assignment

    by stdunbar
    Replies
    1
    Views
    1,613

    Re: Assignment

    Do you have a question or do you just want to drop the class now?
  9. Re: Problems with running and compiling application

    You need to compile it. Your best bet is something like ant or some other automated build tool. Otherwise you'll have to import the code into your IDE to compile.
  10. Replies
    2
    Views
    440

    Re: Java Scripting Rule Issue

    In addition to what copeg said, you say "the "invalid message" pops up" but show no code that pops anythign up. And I've got to ask what:


    if (username.value == 'Name')
    if (password.value ==...
  11. Replies
    14
    Views
    1,919

    Re: ChunkedInputStream Error? Help Please

    Geez, if I was YouTube I'd kick your program out too. I'm surprised you got this far. The problem is that you're not talking HTTP - you're thinking in terms of a raw Socket stream. You can't just...
  12. Replies
    2
    Views
    1,018

    Re: invalid encoding for signature

    You're making it too difficult. Use something like Commons Codec, to base64 encode your string before you save it and base64 decode when you read it out of the database. Converting from byte[] to...
  13. Replies
    1
    Views
    705

    Re: Connect to SQL server 2008

    What has a google search led you to? Where have you gotten stuck?
  14. Replies
    14
    Views
    1,919

    Re: ChunkedInputStream Error? Help Please

    We need to see more code. A "Premature EOF" (end of file) means that the file ended (for example, the sender stopped sending it) before the reciever (your code) expected it.

    Can you show a SSCCE?
  15. Replies
    2
    Views
    612

    Re: core java and advanced java

    There isn't a use of these terms in the JDK. However, core may mean the non-GUI parts of the JRE with advanced using the Swing/AWT stuff. Or it may be that core implies Java SE (the standard...
  16. Replies
    2
    Views
    405

    Re: JAva 5 and Java 7

    There are some important additions in Java 6 and Java 7. But your biggest issue is that Java 5 and older versions are no longer supported. Java 6 and Java 7 are the only versions that are currently...
  17. Replies
    4
    Views
    515

    Re: When to use new String("abc")

    I presume you've already read the Javadocs? It is not usually needed. The example you show auto-creates a String with the characters "abc" to pass to the String constuctor. So, as the Javadocs...
  18. Re: Wondering if there's a way to make this more efficient.

    Take a look at this link. Your algorithm falls under the "Naive methods" and can be improved.

    Do they not have google where you're at? This took about 30 seconds to find.
  19. Replies
    4
    Views
    550

    Re: Need Help with While Loop Lab

    Why would you add the counter value to the grade here? Don't you want:


    runningTotal = runningTotal + grade;

    instead? Don't forget to initilize runningTotal to zero first also.
  20. Re: The requested resource (Servlet action is not available) is not available.

    Check your log file. It sounds like the application didn't deploy correctly.
  21. Re: HI WORLD! Can anyone point a complete novice in the right direction??

    While it isn't Java I use the Arduino to do some of what you're looking to do. Controlling a motor or a relay (of modest size) is very straight forward. Things like liquid flow could use a simple...
  22. Replies
    14
    Views
    1,379

    Re: edit .conf file in /etc linux (java SE)

    I'm not sure what the problem is here. It looks like you have the permission problem taken care of (though a non-executable file in Unix should be 666, not 777) but now you're trying to update a...
  23. Replies
    3
    Views
    577

    Re: CITYMAP MOBILE APPLICATION IN JAVA

    No, we haven't had any luck doing your homework. If you're stuck on something we can help. "Please give me step by step tips so I can go out partying and not do my homework" is not something we're...
  24. Re: which programming language can help me more

    What will help you the most is to determine your requirements better. "basic editing images" is an incredibly vague description of the problem.

    What is it you're really trying to do? Is this a...
  25. Replies
    2
    Views
    576

    Re: PDF generation

    It appears that you're asking how to use a C# library in a Java forum. Is this correct?
Results 1 to 25 of 80
Page 1 of 4 1 2 3 4