Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Oct 2014, 07:13
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Java programming headaches
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
noubuntu4me

Joined: 29 Oct 2011
Posts: 7

PostPosted: Sat 29 Oct 2011, 21:44    Post_subject:  Java programming headaches  

Well this is awkward asking for help, but here goes. First an intro, I am a freshman taking intro to compsci at college. At the beginning of this semester my laptop running xp got a virus and I after trying to be rid of it and failing I switched to linux I chose wary 5 because my laptop has like 1gb of ram and I forget the cpu speed (it is a core duo) and I thought lighter = faster. I also installed puppy to the hdd (and not fugally either)

now For class I have to run bluej a java ide http://www.bluej.org/ but the first time I installed it from a tarball it would not let me type, and the second time from a .deb it just freezes on start with almost all buttons grayed out. Question

I'm not niave enough to think that somone else has run into this issue and solved it, but if not could somone please direct me to a wary 5 safe java ide/compiler. Of course I have tried a few others... netbeans had the same issues, arjunta wouldn't start neither did eclipse.

I see that the text editor geany acts like a code editor but I don't understand how to make it compile, it doesn't help that I stink at command line.... err, console. I read that gcj or gcc compiles java but I don't understand how to set it up,
I liked code blocks screenshots but it requires a seperate compiler and I still have no idea how to do that.

Heck I've spent all day looking all the diferent things up and I am lost. In windows I was sort of the family/freind tech support/repair so not being able to get this working bothers the snot out of me Evil or Very Mad

Sorry for the long post, Any thoughts would be gratefully appreciated. Very Happy
bluej.png
 Description   here is the start screen on bluej as it is crashed.
 Filesize   12.62 KB
 Viewed   275 Time(s)

bluej.png

Back to top
View user's profile Send_private_message 
noubuntu4me

Joined: 29 Oct 2011
Posts: 7

PostPosted: Sat 29 Oct 2011, 23:24    Post_subject:  

As an update I got bluej to work a little better, I can now click the buttons, the problem is once I click out side of a text field I can never get back into it. Bluej isn't the only Ide I've had this inability to actauly type anything into it problem Mad
Back to top
View user's profile Send_private_message 
noubuntu4me

Joined: 29 Oct 2011
Posts: 7

PostPosted: Sun 30 Oct 2011, 13:45    Post_subject:  

another problem I'm having is when trying to run configure on something i get a glib-compile-schemas not found error

a google search is turning up very little.
Back to top
View user's profile Send_private_message 
noubuntu4me

Joined: 29 Oct 2011
Posts: 7

PostPosted: Sun 30 Oct 2011, 16:05    Post_subject:  

well as it turns out I seem to have somehow broke puppy... the desktop disapeared, and none of the menu entries worked (other than shut down) so I downloaded all of my files and I guess I am going os shopping again. I really like puppy but it just doesn't to do all I need, If I didn't need to program for class it would have served nicely. Cool

I'm sure it isn't puppie's fault, I'm just a linux noob, but all the applications not working is starting to drive me bonkers. I guess I need a more mainstream distro. Maybe if I knew more I could make it work but I don't

Obviously from my name you can guess my feeling on ubuntu, but I think I may try debian, is it fast like puppy? I'll really miss the barking recycle bin though Crying or Very sad If anyone has any other os suggestions I'll keep checking back.

Thanks.

p.s. puppy makes a good rescue cd easier than dsl-n and faster than knoppix.
Back to top
View user's profile Send_private_message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sun 30 Oct 2011, 22:19    Post_subject:  

Wot no javaians?

Tmxxine Photon (based on Puppy) is what I attempted to create for a friend
It did not work on his machine - only mine
But I got java and Bluejay working on my computer

I have no interest in supporting or developing Java or Photon Embarassed
http://www.murga-linux.com/puppy/viewtopic.php?p=160119#160119
http://www.murga-linux.com/puppy/viewtopic.php?p=414339#414339
Is there a developer orientated Puppy?
(with devx plus programming set up for more languages)
No? I think there was? Where is it?

As you are a noob (your Window expert tease[sic] - believe it or not
may be a hindrance and require a period of unlearning bad habits)
You poor thing Shocked
[been there, done that got the penguin T-shirt]

Go for a Linux set up with Bluejay and Java - make your life a bit slow but easier.
Good luck
Puppy will still be here Smile

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Sun 30 Oct 2011, 22:36    Post_subject:  

Hi.
You need a jdk in order to use Bluej. http://www.oracle.com/technetwork/java/javase/downloads/index.html
Also a jre.

Then, just get this version, open the folder where the jar file is located, launch a "terminal here" and enter this:
Code:
java -jar bluej-305.jar

Then follow the instructions. You can specify the dirs slecting them in Rox (the puppy's file manager) and pressing the middle button: it copies the right path.

_________________

Back to top
View user's profile Send_private_message 
noubuntu4me

Joined: 29 Oct 2011
Posts: 7

PostPosted: Sat 29 Sep 2012, 16:17    Post_subject: returned to reply  

First off thanks for all your replies, although by the time I got them I was running Debian Laughing

I have learned enough about Linux that I don't really consider myself a complete noob anymore. Idea And since I thought I said I would return with what I found out(but I actually didn't) I figured I would make an update on my situation. The next section will not be about puppy, but the following one will be.

---------------------------------------------------------------------------------------------------------------
As stated earlier, after breaking my puppy install I looked for a more "mainstream" os. here I of course decided to avoid Ubuntu as I just dislke it for some reason, and since I had used Ubuntu at school, knoppix and dsl-n and puppy live cds before I decided to try Debian. Why Debian? well all of the above distros are debian based, and most use .deb packages, so I decided to go straight to the root of it.

I downloaded the standard Debian 32 (dumb because the laptop was 64bit) bit image and burned it to cd and installed it, and I learned 2 things 1. I despise gnome. and 2. Debian didn't want to play nice with the wifi card unlike puppy did. With some research and help from my Ubuntu using professor I did get it working. Bluej was easy as pie to put on and get working, and other than gnome I was happy.

A little while passed and a fellow student was selling his year old laptop, because he had corrupted vista, and restore partition, and he couldn't install win7 from a new disk, and he couldn't use the live linux disk(mandriva) somone gave him to keep him going in classes

So after testing it with puppy, I gave him $100 for it, and decided to make a new debian disk, that wasn't gnome, and was 64bit. After a bit of research of Desktop Environments, I decided on either Xfce or lxde, lo and behold, I found a debian Xfce/lxde install Image, so I burned it to disk and installed it on the new laptop. after I got both Desktop Environments on there I found I prefer Xfce to Lxde, and also tried kde plasma

I decided Xfce was right for me, and that is what I use. Other than the fact that there is no drag/drop menu editing it is perfect for me (yeah I know its probably a config file somewhere in /etc)
-----------------------------------------------------------------------------------------------------------
Alright, so now that I'm a debian user why am I posting here you may wonder. Well I hope some perspective on my noobish mistakes might be helpful, as my be some Ideas to possibly improve puppy, which is where I will start. fyi I used wary 5.1

1, Sea monkey stinks! I mean dang, the first new software for puppy I remember downloading was firefox, maybe make that the default.(unless it would make the iso to big) or as I suppose us Debian users get Iceweasle.

2. jwm/rox, for me the single click stuff rather than double clicking was a pain to get used to, although right click for "terminal here" is great

3. I seem to remember, possibly wrongly that puppy's office option was Libre office. I don't know why but open office always seems to run better for me(odd huh?) put this ay just be personal

4. Linux users must learn package management quickly. I think this is the reason I screwed up. I tried to work around the inbuilt package manager whenever I thought I needed to. I remember downloading things from Debian and ubuntu repos and renaming the .deb with .pet, and trying to install amazingly that didn't work Embarassed how to get software from other sources than the main repo was something I just didn't get (also deleting manually instead of uninstalling via packag emanager is probably what broke my system)
-------------------------------------------------------------------------------------------------
TLDR/noob with similar problem version. read point 4, and don't try to circumvent package management! embrace it.

sorry for the zombifying of this thread though, I hope this helps more than hurts
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Sat 29 Sep 2012, 16:57    Post_subject:  

I was able to get jamvm (~200 kb binary) running on puppy using gnu classpath packages from arch/debian ... ideally we should build our own puppy-optimized/cutdown classpath/openjdk/harmony for this purpose (any clue as to which best fits puppy?) , but it seemed to work well enough. Then we'd probably want anjuta/eclipse too (though geany isn't horrible for java)
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 6689
Location: lisbon

PostPosted: Sat 29 Sep 2012, 17:26    Post_subject:  

Please java lovers, correct me if i'm wrong, but i've always found java to be a big RAM hog. Maybe techno's jamvm is am exception to this?
Back to top
View user's profile Send_private_message 
starhawk

Joined: 22 Nov 2010
Posts: 2943
Location: Everybody knows this is nowhere...

PostPosted: Sat 29 Sep 2012, 17:33    Post_subject:  

Puppy derives its packages from elsewhere. Lucid is our Ubuntu-compatible version (so named for Ubuntu Lucid Lynx of course); the newer Slacko derives from Slackware 13.37. Wary and now Racy are for older systems (anything past about 5 years).

You might consider giving Puppy a go again; just run Puppy, say Lucid 528 from CD and see if you can get a Lucid Lynx BlueJ *.deb to work for you. (Once you download it, just click on it and off it goes.)

To change the single-click to double-click:
(1) rightclick in a ROXfiler window, and select "options".
(2) under "filer windows" (the tab its on when it comes up) uncheck "single-click navigation".
(3) under "pinboard" (5th tab from top) look for the heading "pinboard behaviour" and under it uncheck "single click to open".

On the newer Puppies, right-clicking on the desktop does the same thing on an icon as on an empty area (opening the applications menu) -- this is highly undesirable to me. To fix, add this step 4 to the above...
(4) under "menus" check "file menu on right-click"

That should do it for that Wink

I agree profusely with your seamonkey judgement. I'm a chrome loyalist, although what with the mess google is making of it I'm not entirely sure why. Seamonkey is actually a (theoretically better) firefox derivative, but it looks ugly as sin, and as far as I can tell it's not faster at all.

Puppy uses GOffice, also known as Abiword+Gnumeric. The problem here, which you didn't hang around long enough to find out, is that there isn't a truly stable version of Abiword known to mankind. They simply replace the old bugs with the new ones, and from what I hear (I insist on Libreoffice) the bugs in Abiword are generally real doozies.

Something else you probably ought to know... there are approximately a zillion homemade Puppies. We call them "Puplets" and they exist because Puppy's creator (Barry Kauler) decided that Puppy should be easy to make derivatives of. The even better thing (I love being able to say this!) is that there is no real difference in support between the "official" Puppies and the "unofficial" Puplets. Bugs are handled equally well in (current versions of) both. Note that if a member leaves the forum (this does happen) his or her Puppy does lose its core support, BUT that doesn't occur terribly often.

Check out the Puppy Derivatives and Puppy Projects sections for our Puplet selection Wink RacyNOP is an up-to-date XFCE Puplet you might try out. (It's not Ubuntu compatible, though! Er, can someone remind me what packages were used to make Racy?)

One other thing. Puppy is designed to be low-resource. You don't need the most powerful Cray-crushing rig to run it Wink In fact, I'm running an older version (Puppy 432) on a Dell Latitude CPi with a Pentium II and 128mb RAM (OK, I cheated a little -- it has some swap space too). It runs just well enough to be (barely) usable. Very much a "prove it box" at the moment, but it DOES run. Why 432 and not something more modern (Wary 511 would probably be OK on this system)? Simple. 432 has the sound driver I need Laughing

_________________
Loving X-Slacko 2.1!
Custom Build: HP MOCA-AR + Core2Duo T7200 + 4gb RAM + 256gb SSD
...just needs a pretty case Wink
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0889s ][ Queries: 12 (0.0066s) ][ GZIP on ]