Home | Community | Message Board

Magic Mushrooms Zamnesia
This site includes paid links. Please support our sponsors.


Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Shop: Unfolding Nature Unfolding Nature: Being in the Implicate Order   Myyco.com Golden Teacher Liquid Culture For Sale

Jump to first unread post Pages: 1 | 2 | 3 |  [ show all ]
Anyone here know java?
    #6850914 -

I need some help on it.


--------------------
---------------------------------------------------
Sit up and meditate, there's no time to contemplate.
-------------------------------------------------
I have an international Hitech Psytrance project with a friend: BioChronic
I make various form of Psytrance as a solo Project Dendriform

Extras: Filter Print Post Top
Re: Anyone here know java? [Re: Psy Baba]
    #6855850 -

I know Java, but can't help you if you don't ask a more specific question.

Extras: Filter Print Post Top
Re: Anyone here know java? [Re: phi1618]
    #6856626 -

phi1618 said:
I know Java, but can't help you if you don't ask a more specific question.



He makes a good point. You have got to let us know exactly what you need help with or we can do nothing.


--------------------
Those who would give up a little freedom to get a little security shall soon have neither.
-Benjamin Franklin

Extras: Filter Print Post Top
Re: Anyone here know java? [Re: Psy Baba]
    #6856915 -

> Anyone here know java?

Are we talking about the island that holds the capital of Indonesia, the coffee, or the programming language? I've never been to Java, so probably no help there. I am also not a coffee person, so probably not much help there either. I do know a bit about the programming language.

> I need some help on it.

Ok, have some help.


--------------------
Just another spore in the wind.

Extras: Filter Print Post Top
Re: Anyone here know java? [Re: phi1618]
    #6857342 -

I am trying to figure out how to compile :frown:.


--------------------
---------------------------------------------------
Sit up and meditate, there's no time to contemplate.
-------------------------------------------------
I have an international Hitech Psytrance project with a friend: BioChronic
I make various form of Psytrance as a solo Project Dendriform

Extras: Filter Print Post Top
Re: Anyone here know java? [Re: Psy Baba]
    #6857647 -

Do you have a java compiler?

Extras: Filter Print Post Top
Re: Anyone here know java? [Re: Boom]
    #6857786 -

I downloaded the Package off of the Sun microsystems website and could nto figure that out.

So then I downloaded text pad 5.


--------------------
---------------------------------------------------
Sit up and meditate, there's no time to contemplate.
-------------------------------------------------
I have an international Hitech Psytrance project with a friend: BioChronic
I make various form of Psytrance as a solo Project Dendriform

Extras: Filter Print Post Top
Re: Anyone here know java? [Re: Psy Baba]
    #6857823 -

Netbeans is a decent complier.  http://www.download.com/NetBeans-IDE/3000-2212_4-10628055.html?tag=lst-0-1

All you have to do is right-click the file and select 'compile'.  :shrug:  Not hard at all.

Extras: Filter Print Post Top
Re: Anyone here know java? [Re: Psy Baba]
    #6857824 -

http://www.eclipse.org/downloads/

Try eclipse, it's open source and whatnot

Extras: Filter Print Post Top
Re: Anyone here know java? [Re: Boom]
    #6858817 -

Definitely, Eclipse is powerful and easy to use.
Alternately, you could use Emacs and Ant, but that's a bit harder.
Or, if you're really masochistic, you could always go with NotePad and javac on the command line.
For the last option, type (in the command line, cmd from the run box on Windows) javac -h for help or javac -classpath {dependencies} target.

But really, Eclipse is probably your best option.

Extras: Filter Print Post Top
Re: Anyone here know java? [Re: Boom]
    #6858872 -

Eclipse is pretty good.
Code:

From the command line you can just type javac -classpath .:some/path/ javafile.java to compile

to run type

java -cp .:path javafile

To run




If you got problems with that command I will try to help. It's been awhile since I did any java.


--------------------
Be like water my friend!

Edited by SymmetryGroup8 (05/01/07 03:57 PM)

Extras: Filter Print Post Top
Re: Anyone here know java? [Re: Psy Baba]
    #6858906 -

The Obligatory Java Sucks Post




Java Sucks!







disclaimer:It really does, but that's just my opinion which is why I generally try not to utilise it. You should use whatever you have to or most prefer. This post is mostly for the hilarity it brings me.


--------------------
delta9

Extras: Filter Print Post Top
Re: Anyone here know java? [Re: delta9]
    #6858932 -

Why you think it sucks? Just wondering.


--------------------
Be like water my friend!

Extras: Filter Print Post Top
Re: Anyone here know java? [Re: SymmetryGroup8]
    #6859145 -

Just a guess:
delta9 prefers OCaml, Scheme, Haskell, and/or Erlang. Or maybe, he prefers C++.
Java is great for making money, but has many disadvantages: it's verbose, not very efficient, lacks closures.

Personally, I work in Java and C#; between the two, I prefer C# (since 2.0). It has its share of warts, bugs, and hard to use libraries and frameworks. It also has some features I like - anonymous methods + delegates (closures) and partial classes (useful for maintainable code generation), that Java lacks and is likely to continue lacking for a while.

Of course, some of the features of Lisp, OCaml, etc. will never make it into C#, and for some powerful features (Lisp macros), this is probably a good thing for enterprise-wide sanity.

On the other hand, C++ is great for stable, bug-free libraries and efficiency, but it's a fundamentally less-nice language than Java or C#. IMO, performance is almost always related to the algorithms and design used, or to bugs; the actual performance differences between C/C++ and Java/C# are not important for 99% of projects, and the ability to quickly create bug-free software is much, much more important. To put it another way, computational complexity is frequently important and thread safety is frequently important, but a factor of 1-3x improvement in speed is only significant in border cases.

One of the biggest programming problems that will be facing programmers in the near term is how to deal with multiple processors, and large number of core processors. Erlang has a different concurrency model that C++/C#/Java/etc., which has a "buzz". I don't know much about it myself, though.

Extras: Filter Print Post Top
Re: Anyone here know java? [Re: phi1618]
    #6859960 -

I am trying to get my foot in the door with programming is why I am attempting Java.

I know a little Visual basic, but that is not a very high end language. Alas, it is basic.

What I would like to do is learn to create simple games, and simple applications to get started and get an understanding. So what language would you suggest?


--------------------
---------------------------------------------------
Sit up and meditate, there's no time to contemplate.
-------------------------------------------------
I have an international Hitech Psytrance project with a friend: BioChronic
I make various form of Psytrance as a solo Project Dendriform

Extras: Filter Print Post Top
Re: Anyone here know java? [Re: Psy Baba]
    #6859996 -

You can make really simple games with Java. The easiest one I think is to draw a couple objects and make them race to a finish line using random numbers, so the winner is always different. A boat is an easy object to code.

Extras: Filter Print Post Top
Re: Anyone here know java? [Re: phi1618]
    #6860062 -

SymmetryGroup8 said:
Why you think it sucks? Just wondering.



I don't like it for the same reasons phil618 doesn't like C++ or the other listed languages: I don't generally need to work in it, it lacks features I prefer/require, I think its design is not as "nice" as $MYLANG. Observe...

phi1618 said:
Just a guess:
delta9 prefers OCaml, Scheme, Haskell, and/or Erlang. Or maybe, he prefers C++.



A pretty good guess, even. I have started working in Common Lisp and will prefer it to Scheme (they are Lisp flavors), though I am familiar with and will continue to use Scheme because it is the flavor GIMP uses for script-fu. I most especially prefer C++ above everything else.

Quote:
Java is great for making money, but has many disadvantages: it's verbose, not very efficient, lacks closures.



It is totally useless for low level systems programming, it is not designed to allow multiple language connections the way C++ is, doesn't have pointers (especially function pointers) - just not good for what I need.

Personally, I work in C++, Lisp, perl, PHP and utilize SQL, *ML, and whatever else I need to. Java/C#/INSERT_LANG_NAME keeps your hands tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot!

Quote:
Of course, some of the features of Lisp, OCaml, etc. will never make it into C#, and for some powerful features (Lisp macros), this is probably a good thing for enterprise-wide sanity.



Lisp macros are powerful fun! I am certainly insane, though.

Quote:
On the other hand, C++ is great for stable, bug-free libraries and efficiency, but it's a fundamentally less-nice language than Java or C#.



If C++ is fundamentally less-nice that's because it's more-mean. I think C++ was designed better, is easier for me to work with, and works better in the end. But that's just me - and the great thing about programming languages is that there's at least one out there for you and if there's not you can design it and probably even get it implemented.

DuNeRaVeR said:
I am trying to get my foot in the door with programming is why I am attempting Java.

I know a little Visual basic, but that is not a very high end language. Alas, it is basic.

What I would like to do is learn to create simple games, and simple applications to get started and get an understanding. So what language would you suggest?



If you want to get into game programming, like real good games, really, games are written in C and C++. Simple games can be written in any programming language. I suggest you try as many as possible, and stick with the one that works best for you in the beginning. You can always learn another.


--------------------
delta9

Extras: Filter Print Post Top
Re: Anyone here know java? [Re: despisedicon]
    #6860069 -

despisedicon said:
A boat is an easy object to code.



... as long as you only need to implement a couple interfaces and and store a handful of variables acted upon by a single function, sure. Now let's code a boat that implements a ton of interfaces which can utilize APIs to access various input and output components of a real boat and code that shit to crash into something cool!


--------------------
delta9

Extras: Filter Print Post Top
Re: Anyone here know java? [Re: Psy Baba]
    #6860132 -

Actually, there is nothing much wrong with Visual Basic, other than it's painfull to program with.

Java is a fine language to start with, for simple games and applications. For use with Java, you'll want to download Eclipse, which is a free IDE (integrated development environment). It'll take a little while to learn (I can offer pointers if you need), but it makes compiling, managing, and debugging a small project pretty painless.

In most ways, I prefer C#. Unfortunately, it's less portable than Java - although there is an open source project to port .Net applications to Linux, Mac, and Unix (Mono), Microsoft only supports Windows, so you may run into weird bugs going that route - I really don't know.

You could also try C++. It's popular, but in some ways it's harder to learn than Java or C#. It allows you to use pointers (IMO these should be avoided in most code). By default, C++ doesn't have garbage collection, meaning that you have to free memory manually using the delete opperator. You can use libgc to avoid memory-management related errors. Basically, C++ forces you to worry about details unrelated to the code you're trying to write. On the other hand, there is a very large existing C/C++ code base (e.g. most existing Linux and Windows apps), and you need to be aware of the underlying reality whatever language you're using, even if you don't want to worry about the details on a day to day basis.

Java, C#, and C++ are all languages to learn if you want to get a job, and any is fine to start.

To learn programming, Squeak or Scheme are other languages to consider.

Squeak is a dialect of smalltalk, should be easy to set up, and is probably a more consistent and clearer language than Java - if you learn with Squeak, you'll probably have an easier time and acquire fewer bad habits.

Scheme is closely related to Lisp. Many good schools teach introductory programming classes in Scheme. Scheme is very, very different from Java, and very different from C#, in that it allows the programmer much more freedom. This is not really an advantage (just gives people more rope to hang themselves with) in most business, but it is an advantage in reasearch and teaching.

Really, the language you choose isn't nearly as important as getting started and doing some stuff.

I think you should probably do one of the following:
Java - get SDK version whatever and Eclipse
C# - get .Net 3.0 and Visual Studio C# Express Edition
Squeak - www.squeak.org

Someone else might have other opinions.

Extras: Filter Print Post Top
Re: Anyone here know java? [Re: phi1618]
    #6860260 -

I am more of a C++ person myself. C++ is what the Phoenix Mars Lander code is written in I can assure you of that. The GLAST and STEREO software is also in C++ but I didn't have a hand personally in those.


--------------------
Those who would give up a little freedom to get a little security shall soon have neither.
-Benjamin Franklin

Extras: Filter Print Post Top
Jump to top Pages: 1 | 2 | 3 |  [ show all ]

Shop: Unfolding Nature Unfolding Nature: Being in the Implicate Order   Myyco.com Golden Teacher Liquid Culture For Sale


Similar ThreadsPosterViewsRepliesLast post
* Learning Java
( 1 2 all )
shroominliketruman 1,321 21 09/14/10 11:35 PM
by citricacidx
* Java Help flangenips 712 12 05/25/10 12:09 AM
by flangenips
* Starting to program java wiggles 1,089 4 04/01/07 09:20 PM
by Seuss
* Format String Attack (you gotta be experienced with coding)
( 1 2 all )
Xeny 2,927 22 03/06/08 04:46 PM
by Diploid
* whats a good programming language after java/c(++)?
( 1 2 3 all )
smoothrider267 3,279 47 07/23/09 10:47 AM
by gilesypopper
* Has anybody implemented the Google Calendar in an Android application? lifeiswhatyoumake 192 0 04/27/14 02:31 PM
by lifeiswhatyoumake
* Long string of B's in the top of some webpages Gumby 1,128 10 10/24/07 10:59 AM
by Gumby
* This Java code is driving me crazy. What is wrong with it?? bholzer 381 7 12/08/11 05:25 PM
by bholzer

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: trendal, automan, Northerner
3,457 topic views. 0 members, 8 guests and 4 web crawlers are browsing this forum.
[ Show Images Only | Sort by Score | Print Topic ]
Search this thread:

Copyright 1997-2026 Mind Media. Some rights reserved.

Generated in 0.031 seconds spending 0.004 seconds on 16 queries.