Yay for me! Yay for Java!

Talk about anything and everything not related to this site or the Dreamcast, such as news stories, political discussion, or anything else. If there's not a forum for it, it belongs in here. Also, be warned that personal insults, threats, and spamming will not be tolerated.
Post Reply
User avatar
toastman
Iron Fist of Justice
Iron Fist of Justice
Posts: 4933
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Sat Nov 10, 2001 3:08 am
Location: New Orleans
Has thanked: 0
Been thanked: 0
Contact:

Yay for me! Yay for Java!

Post by toastman »

Well, I finally have a working J2ME environment. I was having some minor troubles making .jar/.jad files and compiling, etc. But I downloaded NetBeans (http://www.netbeans.org) and all is fine now. I've compiled some examples, run them in emulators, and even tested them with my phone.

So, all I need to do now is learn Java. :lol:
No signature.
Pyrosurfer
DCEmu Nutter
DCEmu Nutter
Posts: 964
Joined: Sun Aug 11, 2002 5:07 pm
Has thanked: 0
Been thanked: 0

Post by Pyrosurfer »

The syntax in java is the best I have ever seen out of any language. I think you will enjoy it.

I am currently looking for a java text editor, for a program that I have to compile with a script. By java text editor I mean a editor that highlights data types and such in different colors (like an IDE does).
Midgey34
Insane DCEmu
Insane DCEmu
Posts: 261
Joined: Sat Feb 08, 2003 1:02 pm
Has thanked: 0
Been thanked: 0

Post by Midgey34 »

Textpad works fairly well for that Pyro. I think it has all the features you want.

http://www.textpad.com/
Remember, the quickest way to a girl's bed is through her parents. Have sex with them and you're in.
Pyrosurfer
DCEmu Nutter
DCEmu Nutter
Posts: 964
Joined: Sun Aug 11, 2002 5:07 pm
Has thanked: 0
Been thanked: 0

Post by Pyrosurfer »

Thanks!!!!!!! Usually I just use BlueJ for an IDE, but for this program I can't.
User avatar
greay
DCEmu Ultra Poster
DCEmu Ultra Poster
Posts: 1938
Joined: Wed Jan 21, 2004 10:59 am
Location: 24 hours from Tulsa
Has thanked: 0
Been thanked: 0
Contact:

Post by greay »

I hate Java.

I understand it has its good points, and I'm well aware of some of its bad points, and I understand that hating a perfectly usable language is dumb...

But I can't help it. I hate Java.
I'm a lone wolf looking for trouble.
User avatar
Lunchbox
1337 Food Container
1337 Food Container
Posts: 4171
Joined: Sat Aug 16, 2003 12:30 pm
Location: Right where I can see ya ;)
Has thanked: 0
Been thanked: 0
Contact:

Post by Lunchbox »

Midgey34 wrote:Textpad works fairly well for that Pyro. I think it has all the features you want.

http://www.textpad.com/
Yep. I recently finished 2 java courses and my prof made us use Textpad. Good stuff!
Image
User avatar
Quzar
Dream Coder
Dream Coder
Posts: 7499
Joined: Wed Jul 31, 2002 12:14 am
Location: Miami, FL
Has thanked: 4 times
Been thanked: 10 times
Contact:

Post by Quzar »

I use netbeans. look around sun's website for Sun One 4, the predessorr to it, i find it to be much better unless you ARE actually making netbeans.

no compiling also. remmeber this is java.

oh and never yay for java, never yay. you'll never say yay for java once you learn it.
"When you post fewer lines of text than your signature, consider not posting at all." - A Wise Man
User avatar
mikelomax
DCEmu Cool Poster
DCEmu Cool Poster
Posts: 1135
Joined: Thu Oct 10, 2002 2:24 pm
Location: Off Topic, Since I know very little about the dreamcast
Has thanked: 0
Been thanked: 0

Post by mikelomax »

Java ain't too bad, till you find out it's limitations.

It was a shame that they taught me Java at Uni rather than C++. I still can't get my head around it yet, mainly due to the lack of reference material but i'll look at some books or something.

Still Java's pretty fast and Object Orientated so really decent programming is possible but it takes a fair amount of work.
The reason for having: A firewall

Independance day, the aliens were destroyed because a computer was used to access their network and disable key systems. If they had had a firewall, the earth would be just another worthless rock floating in space.
User avatar
Disheveled DrFreeze
DCEmu Mega Fan
DCEmu Mega Fan
Posts: 2896
Joined: Tue Feb 24, 2004 10:23 am
Has thanked: 0
Been thanked: 0

Post by Disheveled DrFreeze »

i like java quite a lot, we only learned java at college, but it works OK for me, i can easily understand code and all

at the start of the year we got a course in C for microcontrollers, now that i just couldnt get
DrFreeze, thinking outside the box since 1985
DrFreeze, licensed road terror since 2006
DrFreeze, Sun Certified Java Programmer since 2007
User avatar
Nyarlathotep
Soul Sold for DCEmu
Soul Sold for DCEmu
Posts: 7390
Joined: Sat Jan 05, 2002 1:37 pm
Has thanked: 0
Been thanked: 0

Post by Nyarlathotep »

I use Ultraedit - it has syntax highlighting for about every lamguage out there, and if by some miracle its missing the one you need, you can add it yourself as a txt file of syntax you want highlighting, and what colours to highlight whatever commands you want in.
Image
User avatar
toastman
Iron Fist of Justice
Iron Fist of Justice
Posts: 4933
Joined: Sat Nov 10, 2001 3:08 am
Location: New Orleans
Has thanked: 0
Been thanked: 0
Contact:

Post by toastman »

quzar wrote: no compiling also. remmeber this is java.
Java compiles into bytecode.
No signature.
Pyrosurfer
DCEmu Nutter
DCEmu Nutter
Posts: 964
Joined: Sun Aug 11, 2002 5:07 pm
Has thanked: 0
Been thanked: 0

Post by Pyrosurfer »

It is then interpreted though.
Advantages:
Java is multiplatform
Programs can be viewed through web browsers
Better syntax for object orientation IMO than C++

Disadvantages:
Slower than C++

You can compile to .jar, but I still think the program is interpreted.
User avatar
mikelomax
DCEmu Cool Poster
DCEmu Cool Poster
Posts: 1135
Joined: Thu Oct 10, 2002 2:24 pm
Location: Off Topic, Since I know very little about the dreamcast
Has thanked: 0
Been thanked: 0

Post by mikelomax »

Pyrosurfer wrote: Disadvantages:
Slower than C++
Not true, has been disproved on many occasions.

I would go find the links to it but i've lost them.
The reason for having: A firewall

Independance day, the aliens were destroyed because a computer was used to access their network and disable key systems. If they had had a firewall, the earth would be just another worthless rock floating in space.
User avatar
Quzar
Dream Coder
Dream Coder
Posts: 7499
Joined: Wed Jul 31, 2002 12:14 am
Location: Miami, FL
Has thanked: 4 times
Been thanked: 10 times
Contact:

Post by Quzar »

mikelomax wrote:
Pyrosurfer wrote: Disadvantages:
Slower than C++
Not true, has been disproved on many occasions.

I would go find the links to it but i've lost them.
maybe not relatively, but the java VM IS slower than C++ in both processor and memory usage. maybe the code ends up being slightly faster (i HIGHLY doubt that) but the overhead is much much greater.

another disadvantage is that even though its more easily portable, there are many legacy systems which do not have VMs for them.
"When you post fewer lines of text than your signature, consider not posting at all." - A Wise Man
User avatar
toastman
Iron Fist of Justice
Iron Fist of Justice
Posts: 4933
Joined: Sat Nov 10, 2001 3:08 am
Location: New Orleans
Has thanked: 0
Been thanked: 0
Contact:

Post by toastman »

I have a very specific use for Java. Hint: J2ME is Java 2 Mobile Edition.
No signature.
User avatar
Ender
DCEmu Super Poster
DCEmu Super Poster
Posts: 1314
Joined: Mon Dec 10, 2001 4:01 pm
Location: Canada, first igloo on your left.
Has thanked: 0
Been thanked: 0
Contact:

Post by Ender »

Java does have its pros, but I just found it too high-level for my liking. I'd still rather work in C/C++ or asm...
Image
User avatar
toastman
Iron Fist of Justice
Iron Fist of Justice
Posts: 4933
Joined: Sat Nov 10, 2001 3:08 am
Location: New Orleans
Has thanked: 0
Been thanked: 0
Contact:

Post by toastman »

Ender wrote:Java does have its pros, but I just found it too high-level for my liking. I'd still rather work in C/C++ or asm...
Yes indeed, but I can't write C/C++ apps for my cell phone. :D
No signature.
User avatar
Quzar
Dream Coder
Dream Coder
Posts: 7499
Joined: Wed Jul 31, 2002 12:14 am
Location: Miami, FL
Has thanked: 4 times
Been thanked: 10 times
Contact:

Post by Quzar »

toastman wrote:
Ender wrote:Java does have its pros, but I just found it too high-level for my liking. I'd still rather work in C/C++ or asm...
Yes indeed, but I can't write C/C++ apps for my cell phone. :D
you need a symbian powered phone =P.
"When you post fewer lines of text than your signature, consider not posting at all." - A Wise Man
User avatar
greay
DCEmu Ultra Poster
DCEmu Ultra Poster
Posts: 1938
Joined: Wed Jan 21, 2004 10:59 am
Location: 24 hours from Tulsa
Has thanked: 0
Been thanked: 0
Contact:

Post by greay »

toastman wrote:
Ender wrote:Java does have its pros, but I just found it too high-level for my liking. I'd still rather work in C/C++ or asm...
Yes indeed, but I can't write C/C++ apps for my cell phone. :D
I was thinking of getting into J2ME...

But I don't have a cell phone.
I'm a lone wolf looking for trouble.
User avatar
toastman
Iron Fist of Justice
Iron Fist of Justice
Posts: 4933
Joined: Sat Nov 10, 2001 3:08 am
Location: New Orleans
Has thanked: 0
Been thanked: 0
Contact:

Post by toastman »

quzar wrote:
toastman wrote:
Ender wrote:Java does have its pros, but I just found it too high-level for my liking. I'd still rather work in C/C++ or asm...
Yes indeed, but I can't write C/C++ apps for my cell phone. :D
you need a symbian powered phone =P.
Which I don't have. I have a Nokia 3120. Plus, looking at things, it seems that if I keep it to MIDP 1.0 and CLDC 1.0 I should be able to target the largest section of mobile phone users.
No signature.
Post Reply